Daniel Fichtinger
66d5f3ac77
Merge 84468c812d
into 205e7ece70
2025-06-15 21:00:16 +02:00
uncenter
6e4ec96101
Highlight Ecma escape sequences ( #13762 )
2025-06-13 09:15:40 -05:00
CalebLarsen
62f270e5d2
chore: updated c,c++ highlights ( #13747 )
2025-06-12 09:28:09 -05:00
Caleb Larsen
ae3eac8aeb
fix: Rust now correctly highlights doc comments as @comment.{block,line}.documentation instead of @comment
2025-06-10 10:54:05 -04:00
CalebLarsen
2b26d27416
fix: re-ordered and updated python highlights ( #13715 )
2025-06-08 21:34:37 -04:00
Grey
e773d6cc92
feat: add luau grammars and lsp ( #13702 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-08 15:21:08 -04:00
Michael Davis
25b299abc5
queries: Recognize methods as a locals scope
...
This fixes a bug in highlighting parameter variables in Go methods.
See <https://redirect.github.com/helix-editor/helix/issues/13674#issuecomment-2935514099 >
2025-06-06 11:48:18 -04:00
Matt Conway
d375f1e7f4
syntax: add grammar and highlighting for the alloy config lang ( #13660 )
2025-06-06 10:02:30 -05:00
Nik Revenco
2baff46b25
fix: Some Incorrect Rust highlights ( #13657 )
...
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-31 09:43:19 -05:00
Jonas Köhnen
921ca08e1b
highlights/go: fix locals clashing with variable.other.member ( #13644 )
2025-05-31 09:41:19 -05:00
Jeff Bencin
17fb12bcf3
feat: Add Clarity language support ( #13647 )
2025-05-31 09:11:16 -05:00
Binh Tran
8d58f6ce8d
fix(highlights/ungrammar): improve UX ( #13607 )
2025-05-25 08:47:10 -05:00
Nik Revenco
1023e8f964
feat: highlight rust string interpolation macros that use `format_args!` ( #13533 )
...
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-24 10:02:32 -05:00
Binh Tran
ae0dd313bd
fix(highlights/ini): make consistency with toml ( #13589 )
2025-05-22 08:52:51 -05:00
CalebLarsen
ebf96bd469
Updated python/locals.scm to label `self` and `cls` as `variable.buitin` ( #13552 )
2025-05-17 09:43:21 -05:00
Michael Davis
05ae617e1c
queries: Reorder Slint and HTML injections in Rust
...
This fixes injections of Slint and HTML in Rust macros. These patterns
must be moved after the generic `(macro_invocation (token_tree))`
pattern since they are more specific, and later patterns now take
priority.
See <https://redirect.github.com/helix-editor/helix/pull/12972#issuecomment-2888300442 >.
2025-05-17 08:48:01 -04:00
CalebLarsen
df02ef6a99
Update tree-sitter-haskell ( #13475 )
2025-05-17 07:42:52 -05:00
Michael Davis
f46222ced3
Revert "feat: Highlight Rust String interpolation macros"
...
This reverts commit 9bb80a74e1
.
2025-05-13 19:52:48 -04:00
Nikita Revenco
9bb80a74e1
feat: Highlight Rust String interpolation macros
...
Fixes #5845
2025-05-13 19:31:42 -04:00
Michael Davis
be1cf090c3
queries: Inject markdown into Rust doc comments
...
Co-authored-by: Nik Revenco <154856872+nik-rev@users.noreply.github.com>
2025-05-13 19:01:10 -04:00
Michael Davis
a3b64b6da2
queries: Rewrite all locals
2025-05-13 19:01:10 -04:00
Aitor
908b9edf28
add support for tree-sitter custom template languages on vue ( #13511 )
...
Co-authored-by: TheSylex <TheSylex@users.noreply.github.com>
2025-05-12 08:23:59 -05:00
Bryce Berger
4c8600967c
verilog: add highlighting for the "var" keyword ( #13493 )
2025-05-10 08:08:34 -05:00
Jules Wiriath
313ef30f64
bump: tree-sitter-cpp ( #13504 )
2025-05-10 08:00:05 -05:00
David Else
e4ef096945
Update Bash highlights ( #13477 )
2025-05-08 08:22:14 -05:00
Nik Revenco
1460a086df
feat: add wgsl built-in functions to `@function.builtin` ( #13479 )
...
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-08 07:56:36 -05:00
Sean Russell
51d3b15557
Update tree-sitter-v ( #13469 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-07 17:38:07 -05:00
Remo Senekowitsch
e53462c78c
verilog: separate highlighting of keyword operators ( #13473 )
2025-05-06 08:24:14 -05:00
Rotem Horesh
cbac427383
feat: add a tree-sitter grammar and highlights for dunst's config ( #13458 )
2025-05-05 09:08:33 -05:00
CalebLarsen
46cb177792
feat: add basic Slang support ( #13449 )
...
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-05-05 09:03:40 -05:00
Spenser Black
4784650ccf
Add support for Pug language ( #13435 )
2025-05-05 08:57:00 -05:00
Michael Davis
12139a4c30
queries: Fix `comment.unused` highlights in Erlang
...
* Other languages use `comment.unused` instead of `comment.discard`.
* Fix the precedence of discarded variables - previously the parameter
highlight was higher precedence so discarded variables in the
parameter list were highlighted as parameters instead of
`comment.unused`.
2025-05-02 09:46:46 -04:00
Michael Davis
9f3b193743
queries: Fix precedence for zero-arity erlang macros
2025-04-27 15:06:11 -04:00
Jonas Köhnen
448e3c2ef5
fix(highlights/go): defer, go, goto are keywords ( #13425 )
2025-04-27 13:23:47 -05:00
Tobias Tschinkowitz
95c8d9c9e9
Add highlighting for lua methods ( #13401 )
2025-04-27 08:41:16 -05:00
Erasin Wang
52d4d775ce
Update scss and highlights ( #13414 )
2025-04-26 11:35:31 -04:00
James Turk
37b5d8ba99
feat: add basic Quarto support ( #13339 )
2025-04-16 08:03:21 -05:00
icefoxen
bce166290a
Basic language support for Fennel. Might even work. ( #13260 )
...
Co-authored-by: uncenter <uncenter@uncenter.dev>
Co-authored-by: Simon Heath <simon.heath@nearearth.aero>
2025-04-15 18:05:44 -05:00
Daniel Fichtinger
84468c812d
Merge branch 'master' into vim-lang
2025-04-12 17:25:02 -04:00
Niklas Gruhn
340934db92
Basic injection queries for Quint ( #13322 )
2025-04-11 10:31:57 -05:00
RoloEdits
4a7939928e
chore(jjdescription): bump rev to latest ( #13329 )
2025-04-11 09:06:20 -05:00
Julien THILLARD
a799794623
Change highlights order ( #13293 )
2025-04-08 09:16:31 +09:00
Mykyta
9cfb8afa99
Added: missing highlighting to `queries/_typescript` ( #13250 )
...
* Added: missing highlighting
* moved: delete, typeof, instanceof, void - from keywords to keyword.operator
2025-04-07 10:00:03 -05:00
Weihnachtsbaum
e9a3dcd858
Add WESL language ( #13267 )
...
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-04-06 12:23:34 -05:00
Wesley Hershberger
6c42ed1bd5
Debian control file syntax highlighting ( #13245 )
...
File format described at
https://www.debian.org/doc/debian-policy/ch-controlfields.html
Co-authored-by: Wesley Hershberger <wesley.hershberger@gmail.com>
2025-04-06 12:05:43 -05:00
Mykyta
994b750dd4
fixed: typo in capture group, removed duplicate query ( #13251 )
2025-04-06 11:49:21 -05:00
Max
1fc19c6d8e
Add Prolog tree-sitter grammar ( #11611 )
2025-04-06 11:43:53 -05:00
may
8e65077065
queries(scheme): consider the first argument of λ to be a variable ( #13143 )
2025-03-20 08:54:26 -05:00
Freddie Gilbraith
d6cacb2731
add werk language and highlights ( #13136 )
2025-03-20 08:04:52 -05:00
Zeger Van de Vannet
6f463dbeb3
feat: add indents for starlark ( #13126 )
2025-03-18 09:18:45 -05:00