188 Commits

Author SHA1 Message Date
Riley Bruins
77362027f7 fix: remove redundant alternants (#8159) 2025-09-28 18:39:09 -07:00
Mouinul Hossain
db50897909 feat(parsers): add kitty (#8129) 2025-09-28 18:04:09 -07:00
Christian Clason
9176343647 feat(inko)!: update parser and queries
Breaking change: `(array_pattern)` rule and node was removed again.
2025-09-28 12:06:59 +02:00
Omar Valdez
5a70b1eb8c feat(hyprlang): highlight more exec keywords 2025-09-22 17:22:57 +02:00
Minijackson
53819acac2 feat(snl): add parser and queries 2025-09-22 15:41:39 +02:00
Riley Bruins
6ac9f2e512 fix: align line continuation highlights (#8146)
These should be `@punctuation.special`. Added the highlight for python,
cylc, and make. Corrected it for earthfile and matlab.
2025-09-21 16:59:47 -07:00
Christian Clason
bd99d6bd2b feat(koto)!: update parser and queries
Breaking changes: `call`, `index`, `lookup` fields removed
2025-09-21 10:42:51 +02:00
Christian Clason
20fc6b1270 feat(python): revert breaking change
This reverts the update in
https://github.com/nvim-treesitter/nvim-treesitter/pull/8128 which
turned out to have further breaking consequences.

Pin the parser to the last release (tier 1) to avoid pulling in more
breaking changes.
2025-09-19 13:41:33 +02:00
Thibault de Villèle
c41b3b9841 feat(latex): add counter nodes' highlight rules 2025-09-19 10:35:18 +02:00
Thibault de Villèle
1b8622a830 feat(latex)!: update parser and queries
Breaking change: `(curly_group_label)` replaced by `(curly_group_text)`

see latex-lsp/tree-sitter-latex#213
2025-09-19 10:35:18 +02:00
sharpchen
317a77affc fix(c_sharp): missing highlight for parameter modifier 2025-09-19 10:27:32 +02:00
sharpchen
8ab64a37ea fix(c_sharp): missing query for delegate name 2025-09-17 21:05:25 +02:00
Christian Clason
1c760c1888 feat(parsers): update bash, c, cpp, desktop, djot, dtd, editorconfig, gdscript, go, html, idl, java, javadoc, javascript, json, markdown, markdown_inline, mlir, php, php_only, python, r, rust, scheme, ssh_config, supercollider, superhtml, systemverilog, templ, xml, xresources 2025-09-17 18:30:32 +02:00
purarue
7aa24acae3 feat(rifleconf): add parser and queries 2025-09-14 10:53:21 +02:00
Christian Clason
682d083292 feat(python)!: update parser and queries
Breaking change: anonymous node `"expect*"` was removed by the refactor.
2025-09-13 10:36:51 +02:00
NullVoxPopuli
f42378a959 feat(glimmer_*): add glimmer_template folds (#8115) 2025-09-13 10:24:44 +02:00
osthomas
fee71c102c feat(snakemake): update queries (#8106)
also add indent tests
2025-09-07 13:58:28 +02:00
Riley Bruins
802195d8f1 feat(proto): folds for import statements 2025-08-31 08:06:48 +02:00
Riley Bruins
8fccdb3d49 feat(proto): more delimiter, property highlights 2025-08-31 08:06:48 +02:00
BlockLune
cd64fd3f44 feat(wxml): add parser and queries 2025-08-29 18:30:18 +02:00
Christian Clason
16da7ded58 feat(matlab)!: update parser and queries 2025-08-29 14:54:38 +02:00
Christian Clason
85ec015f3b feat(nu)!: update parser and queries 2025-08-26 10:32:32 +02:00
Christian Clason
37cec5ec59 feat(gotmpl,helm)!: update parser and queries 2025-08-25 19:13:51 +02:00
Caleb White
9f15c2b050 fix(blade): fix highlighting of php tags 2025-08-25 15:39:40 +02:00
Yorick Peterse
44e90ec66e feat(inko): add support for array patterns
This updates the version of the Inko parser to the latest version and
includes indent support for the new array pattern node.
2025-08-21 19:51:10 +02:00
Christian Clason
6fd7117c1d feat(matlab)!: update parser and queries 2025-08-19 11:56:38 +02:00
Alexei Mozaidze
21da8ac251 fix(fennel): highlight $ in multi-symbol context properly
Highlights the dollar symbol properly in multi-symbol contexts like
`$.some.properties`
2025-08-12 10:25:22 +02:00
Caleb White
42ea539243 feat(php): update php and php_only parsers to v0.24.0 2025-08-12 10:25:14 +02:00
涵曦
13e3ce3bf4 feat(sproto): add parser 2025-08-12 10:24:58 +02:00
Riley Bruins
4eb35c0344 feat(gdscript): misc operators, semicolon highlight 2025-08-06 18:49:54 +02:00
Robert Muir
4d9916e477 fix(jinja_inline): fix crashing query pattern
If jinja_inline parser is regenerated, then this pattern hits an
"impossible" assert in tree-sitter query processing.
2025-08-05 20:06:49 +02:00
Robert Muir
a4fa3e2d18 Revert "fix(jinja): remove crashing pattern"
This reverts commit 8c8742871a.
2025-08-05 20:06:49 +02:00
Christian Clason
05f2910355 feat(systemverilog)!: update parser and queries
Breaking changes:
1. `(comment)` node split into `(one_line_comment)` and
   `(block_comment)`
2. named `(directive_foo)` nodes replaced by anonymous `"'foo"`
   (with backtick!) nodes -- but not consistently
2025-08-05 20:06:15 +02:00
Riley Bruins
40cca05b40 fix(c, ecma): remove invalid predicate parameters
These are not valid named nodes in their respective languages.
2025-07-22 09:52:32 +02:00
Christian Clason
8c8742871a fix(jinja): remove crashing pattern
https://github.com/cathaysia/tree-sitter-jinja/issues/37
2025-07-21 11:21:52 +02:00
NullVoxPopuli
6b3bf164b2 feat(glimmer): add fold queries (#8020) 2025-07-21 09:40:37 +02:00
Christian Clason
f14b356d54 feat(chatito)!: update parser and queries
node `(eq)` is replaced by field `eq: _`
2025-07-20 11:53:37 +02:00
Robert Muir
20d77c2e5b fix(jinja): assign highlights to all variables and functions
The majority of jinja variables aren't assigned any highlights at all.
Assign @variable to all identifiers.

Jinja filters without parameters are not highlighted as functions: add a
query for these.

Refine the existing @variable.member to only capture identifiers instead
of broader nodes.
2025-07-19 18:25:47 +02:00
Christian Clason
1e3b7562c2 feat(wit)!: update parser and queries 2025-07-19 15:19:50 +02:00
Riley Bruins
fba060b623 feat(pkl): add parser and queries (#8011) 2025-07-19 11:36:38 +02:00
Alan Russell
61ec748ef7 feat(groq): add parser and queries (#8008) 2025-07-18 18:04:42 +02:00
Riley Bruins
96f51adf71 fix(c_sharp): "<", ">" in type param lists are brackets (#8003) 2025-07-15 00:55:29 +00:00
Riley Bruins
6c2234f7ba feat(c_sharp): highlight :: (#8002) 2025-07-14 17:48:23 -07:00
Caleb White
c9e4edc127 feat(blade): update blade parser and queries 2025-07-11 17:34:30 +02:00
Christian Clason
4eb12d7a1f feat(ziggy,ziggy-schema): update parser and queries
Breaking change: ziggy-schema removed "map" node
2025-07-09 10:30:54 +02:00
Christian Clason
4400990e73 feat(vim): highlight "trim" in script heredocs
Allow the optional "trim", as documented in ":help :lua-heredoc".
2025-07-07 12:22:10 +02:00
Christian Clason
0d32ec3c3e feat(latex)!: update parser and queries
Breaking change: `label_definition`, `label_text` patterns
2025-07-05 17:46:07 +02:00
Igor
dafb3cb3cb fix(http): prefer folding requests 2025-07-04 08:56:45 +02:00
Riley Bruins
04935dec42 fix: remove import references to jsx/locals.scm
There are no JSX locals (yet...?)
2025-07-03 18:33:31 +02:00
Baruch Even
1f069f1bc6 feat(D): highlight (string) etc. as @keyword.type (#7978)
Co-authored-by: Baruch Even <baruch@weka.io>
2025-06-29 16:10:29 +00:00