Commit Graph

901 Commits (53500f6ebd9538876b033e8658d809884917c4e4)

Author SHA1 Message Date
zetashift 7fa5f341e9
Update Unison highlights (#8315) 1 year ago
NomisIV cb39242783
Use Maskhjarnas tree-sitter-purescript (#8306) 1 year ago
pacien 37e48f4307 queries/nix: align match start for language comments
This rule failed to override other ones because it started its
matching later.
1 year ago
pacien b4494e1dc5 queries/nix: add injection rule for python test scripts 1 year ago
Cyrill Schenkel 941dc6c614
add GNU assembler (gas) support #8291) 1 year ago
Abderrahmane TAHRI JOUTI 19d44b6fde
add cyan_light theme (#8293)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Anton Romanov e41bee6ac6
[theme] Fix zenburn theme inlay hint color (#8278) 1 year ago
Henrik Tjäder 764172d5bc
Theme: Papercolor: Cleanup, linting and using inheritance (#8276) 1 year ago
Chirikumbrah 729f32de21
Better indent line color for Dracula theme. (#8266) 1 year ago
Blaž Hrastnik ef23847957
scheme: Highlight abbreviations 1 year ago
Galen Abell acef759a5e
Add additional YAML injections (#8217) 1 year ago
Alexis Mousset 83ac53a109
Fix various typos (#8233) 1 year ago
Yhya 6f3a6575dc
add material theme collection (#8211)
* Create material theme files

* Add material deep ocean pallete

* Add primary theme properties to material deep ocean theme

* Fix material deep ocean theme

* Ad syntax highlighting to material deep ocean theme

* Make material oceanic theme

* Make material darker theme

* Remove material lighter theme

* Make material palenight theme

* Make other material themes inherit material deep ocean theme

* Add virtual ruler background to the material theme collection
1 year ago
Jesse Luehrs 81d6d3ff0e
re-add indent and textobject queries for perl (#7947)
* bump tree-sitter-perl version

need some grammar tweaks for the indent queries to function properly

* add indent queries for perl

* add textobject queries for perl
1 year ago
John Scarrott 61814fea7f
Nord Theme: Fix missing ui text focus, use undercurls for diagnostics (#8165) 1 year ago
Ivan Molodetskikh 9d7f66574d
Update tree-sitter-blueprint (#8161) 1 year ago
Damir Vandic 79c0425154
Sync latest catppuccin theme changes (#8102) 1 year ago
Sol Fisher Romanoff aeaeb09f48
add gemini language support (#8070) 1 year ago
arslee07 75c5a33028
Highlight Dart 3 `sealed` and `base` keywords (#7974) 1 year ago
kaashyapan 75342968e2
update fsharp tree-sitter (#8024) 1 year ago
dastrukar e4c95f65a6
Nord theme: Update ruler to set bg instead of fg (#7995) 1 year ago
Tomas Sandven 18a79aa3bf
Update tree-sitter-robot (#7970)
* Update tree-sitter-robot

* Update Robot highlights query for Helix

* Change @comment.single to @comment

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Jack Allison 2b7e7c80eb
Update Monokai bufferline theming to be distinguish active buffers (#7983)
* Update OneDark theme to use light-gray for inlay hints.

* fix monokai tab themeing to be more distinguishing
1 year ago
Pham Huy Hoang 56ccaedffb
markdown.inline: Add `injection.combined` to html tag (#7960)
Problem: Closing tags for markdown is sometimes not highlighted
Solution: Add `injection.combined` to create a valid syntax tree for
highlighting
1 year ago
Jens Getreu 61ccf4eded
autumn theme: improve readability of comments (#7939)
* Improve readability of comments

* Rename color

* Rename color

* Sort variables
1 year ago
sigmaSd cbfe8eef89
add strace highlighting (#7928)
* feat: add strace tree sitter

* f
1 year ago
Jesse Luehrs d56638ba9a fix formatting in the rust textobject query file
looks like two lines were unintentionally joined - it doesn't appear to
affect the functionality, but it's confusing to read
1 year ago
Erasin Wang 19dff5c3a4
Update slint grammar (#7893) 1 year ago
Jesse Luehrs 2caca1c4e9
Add pod highlighting (#7907) 1 year ago
Daniel Ebert 36a59e4482 Improve C, Rust & Python indent queries & add @align captures. 1 year ago
Skyler Hawthorne 7078e84007 Fix YAML auto indent
YAML indents queries are tweaked to fix auto indent behavior.

A new capture type `indent.always` is introduced to address use cases
where combining indent captures on a single line is desired.

Fixes #6661
1 year ago
Ivan Isekeev 57f093d836
Jinja language family syntax support (#7233)
* feat: add jinja language support

* feat: add nunjucks language support

* feat: add to lang support book jinja and nunjucks languages
1 year ago
Jan9103 c0eae84073
feat: add todo.txt tree-sitter (#7835) 1 year ago
Gaël cb9b08d650
Add new Yellowed theme to default themes (#7849)
* added new Yellowed theme to default themes

* syntax typo and missing color fix
1 year ago
Artemiy 1077630834
Update tree-sitter grammar for nu (#7873)
* Update tree-sitter grammar for nu

Change tree-sitter grammar for nushell to 'officially' maintained
by nushell project https://github.com/nushell/tree-sitter-nu. Update
to the latest version. Replace queries with supported

* Restore injection queries for nu

Restore injection.scm queries for nushell tree-sitter grammar
1 year ago
zetashift 294aa669a2
Add Unison support (#7724) 1 year ago
woojiq 7cda5b8592
build(tree-sitter): update javascript, typescript and tsx (#7852)
* build(tree-sitter): update javascript, typescript and tsx

* update revision of tree-sitter parsers for these languages.
* rename `?.` to `optional_chain`, introduced in tree-sitter/tree-sitter-javascript@186f2adbf7.

* fix(highlight): change jsx queries to match latest tree-sitter

Latest tree-sitter/tree-sitter-javascript@bb1f97b643 added some breaking changes that broke highlighting.
* Remove some queries with `nested_identifier`.
* Remove deprecated `jsx_fragment` from indent query.
* Count `</` and `/>` as a single token.
1 year ago
Petr Gajdůšek 7af37bb3b9
Add tree-sitter textobjects queries for bash (#7764)
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.

This also updates the generated docs after adding the textobjects for bash.
1 year ago
woojiq 1d189820a1
feat(indent): add basic java indentation queries (#7844) 1 year ago
Mohamed Imrane Chehabi 80d2599f9c
Add new moon theme to default themes (#7834)
* Add new moon theme to default themes

* Remove .DS_Store
1 year ago
Jummit f19793c2f8
Improve wren support (#7819) 1 year ago
Christoph Sax 5a51036bc1
Update t32 language queries to version 2.2.1 (#7811)
Version 2.2.1 of the grammar adds extended support for HLL (C, C++,..)
expressions. Quite a few node types were added, renamed or removed in
the process.

This change brings the highlight queries in sync with the ones found in
the repository of the grammar. The highlighting tests "look" okay after
updating the queries.

Recently, Codeberg had some reliability issues. That is why the language
is now using the mirror repository on GitLab as source instead.

Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
1 year ago
J. Brock 286e44050d
Bump the version of Hare's grammar (#7784) 1 year ago
voroskoi bc737404e8
Update tree-sitter-zig (#7803) 1 year ago
lydiandy 57952c46a4
replace new lsp for vlang (#7760)
* fix vlang grammar fetch and build fail

* update highlights.scm for v-analyzer

* Update languages.toml

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/queries/v/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* update scm for new lsp

* gen doc lang-support.md

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Jesse Luehrs d5571968fa
add new theme based on the default vim dark theme (#7785) 1 year ago
Matthias Q 224fd5fa29
feat: update prql parser (#7771) 1 year ago
Jummit 9a4890f62b
Add wren support (#7765) 1 year ago
Michael Davis f0b877e258 Tune regex highlights for usage in prompts
Since regex is almost always injected into other languages,
`pattern_character`s will inherit the highlight for the structure that
injects them (for example `/foo/` in JavaScript or `~r/foo/` in Elixir).
This removes the string highlight when used in the prompt.

We also add `ERROR` node highlighting so that errors in regex syntax
appear in the prompt. This resolves a TODO in the `regex_prompt`
function about highlighting errors in the regex.
1 year ago
eh dea6894f92
Theme Pop-Dark: Increase Diagnostics clarity (#7702) 1 year ago