Commit Graph

892 Commits (main)

Author SHA1 Message Date
Blaž Hrastnik ef23847957
scheme: Highlight abbreviations 8 months ago
Galen Abell acef759a5e
Add additional YAML injections (#8217) 8 months ago
Alexis Mousset 83ac53a109
Fix various typos (#8233) 8 months 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
8 months 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
8 months ago
John Scarrott 61814fea7f
Nord Theme: Fix missing ui text focus, use undercurls for diagnostics (#8165) 8 months ago
Ivan Molodetskikh 9d7f66574d
Update tree-sitter-blueprint (#8161) 8 months ago
Damir Vandic 79c0425154
Sync latest catppuccin theme changes (#8102) 8 months ago
Sol Fisher Romanoff aeaeb09f48
add gemini language support (#8070) 8 months ago
arslee07 75c5a33028
Highlight Dart 3 `sealed` and `base` keywords (#7974) 8 months ago
kaashyapan 75342968e2
update fsharp tree-sitter (#8024) 9 months ago
dastrukar e4c95f65a6
Nord theme: Update ruler to set bg instead of fg (#7995) 9 months 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>
9 months 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
9 months 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
9 months ago
Jens Getreu 61ccf4eded
autumn theme: improve readability of comments (#7939)
* Improve readability of comments

* Rename color

* Rename color

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

* f
9 months 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
9 months ago
Erasin Wang 19dff5c3a4
Update slint grammar (#7893) 9 months ago
Jesse Luehrs 2caca1c4e9
Add pod highlighting (#7907) 9 months ago
Daniel Ebert 36a59e4482 Improve C, Rust & Python indent queries & add @align captures. 9 months 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
9 months 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
9 months ago
Jan9103 c0eae84073
feat: add todo.txt tree-sitter (#7835) 9 months 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
9 months 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
9 months ago
zetashift 294aa669a2
Add Unison support (#7724) 9 months 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.
9 months 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.
9 months ago
woojiq 1d189820a1
feat(indent): add basic java indentation queries (#7844) 9 months ago
Mohamed Imrane Chehabi 80d2599f9c
Add new moon theme to default themes (#7834)
* Add new moon theme to default themes

* Remove .DS_Store
9 months ago
Jummit f19793c2f8
Improve wren support (#7819) 9 months 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>
9 months ago
J. Brock 286e44050d
Bump the version of Hare's grammar (#7784) 9 months ago
voroskoi bc737404e8
Update tree-sitter-zig (#7803) 9 months 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>
9 months ago
Jesse Luehrs d5571968fa
add new theme based on the default vim dark theme (#7785) 9 months ago
Matthias Q 224fd5fa29
feat: update prql parser (#7771) 9 months ago
Jummit 9a4890f62b
Add wren support (#7765) 9 months 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.
9 months ago
eh dea6894f92
Theme Pop-Dark: Increase Diagnostics clarity (#7702) 9 months ago
saltlakrits 5a52897014
Update everforest_dark.toml to add missing color definitions (#7739) 9 months ago
Pham Huy Hoang 75239a938f
fix incorrect predicate in comment highlights (#7732) 9 months ago
Federico Stra a188282b37
Update soft-wrap indicator in gruvbox themes (#7736) 9 months ago
Ravi Shekhar Jethani 48d57dad47
Fix selection highlighting in remaining gruvbox derived themes (#7717) 9 months ago
Thales Ramos d52b790379
Add Kaolin Dark, Light and Valley Dark themes (#7151)
Add some missing keys

Inherit themes from kaolin-dark and override diverging keys
10 months ago
Jesse Luehrs e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 10 months ago
kaashyapan 2ace6032e7
Add fsharp language support (#7619) 10 months ago
Erasin Wang 2cb00bcbc4
Support inlay-hints for svelteserver. (#7622) 10 months ago
Jeppe Christiansen bc4f08febf
Update Typescript, TSX and Svelte grammar, to latest tag (#6874)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
10 months ago