Commit graph

112 commits

Author SHA1 Message Date
Izzy Muerte
65a266bf69
fix(xml): remove CDATA injection
This change does not break existing injections that currently ship with nvim-treesitter, but instead allows additional injections to be defined by users, like those found in the Max/MSP Jitter XML Shader format.
2025-11-03 09:37:30 +01:00
Tayfun Bocek
64f4755b9d
feat!(gdshader): replace gdshader parser and queries (#8244)
Switch parser to https://github.com/airblast-dev/tree-sitter-gdshader
2025-10-30 14:59:19 +01:00
Riley Bruins
2c30e515eb
fix: prefer #eq? for checking equality with one string (#8246) 2025-10-30 10:51:42 +09:00
Christoph Horn
645f42e85d
feat(julia)!: update parser and queries (#8235)
sync locals queries with upstream

---------

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2025-10-27 10:43:58 +00:00
imawaki
738d9ced4c
feat(apex): javadoc injections (#8232)
Apex codebases commonly use Javadoc-style comments, similar to Java (Apex is Salesforce's object-oriented language).

This updates the injection query to capture javadoc nodes instead of the generic comment for better highlighting and parsing accuracy.
2025-10-26 19:07:19 +01:00
Lev Velykoivanenko
c53bb10a71
fix(python): regex injection not working for concatenated strings (#8197)
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
2025-10-26 09:25:42 -07:00
zc he
9ee023538e
feat(nu): update syntax to Nu 0.108.0 (#8227)
also deduplicate bracket rules
2025-10-25 11:14:38 +02:00
Omar Valdez
400f38cc23
feat(hyprlang): update parser and queries (#8224) 2025-10-24 18:50:42 -07:00
Riley Bruins
f2204e58db
fix: use proper ; inherits syntax in queries (#8226)
Some queries don't add a colon after the `inherits` keyword, which nvim
could handle but `ts_query_ls` could not, causing it to give incomplete
diagnostics.
2025-10-24 18:47:39 -07:00
Isla Waters
4a9f57971a Remove empty capture based on ts_query_ls output 2025-10-24 09:31:21 +02:00
Isla Waters
eea5725822 feat(perl): Add language injection based on heredoc delimiter 2025-10-24 09:31:21 +02:00
zc he
30c466ad57
fix(nu): separate patterns for collection_type 2025-10-21 09:10:18 +02:00
Christian Clason
846d51137b
feat(julia): update builtin functions and types (#8203)
Update to Julia 1.12 (sync with upstream)
2025-10-17 13:54:28 +00:00
Riley Bruins
63fac0a576
fix(vue): @character.special highlights for :, . (#8200) 2025-10-15 23:17:41 -07:00
Riley Bruins
0606c7a9dc feat(vue): delimiter highlight touch-ups 2025-10-12 11:22:15 +02:00
Riley Bruins
09d50fd157 fix(kitty): align line continuation highlights
Changes them from `@comment` to `@punctuation.special`, which is how
they are in other languages.
2025-10-11 17:51:13 +02:00
Steven Xu
cbafde9925 feat(tmux)!: update parser and highlights
Breaking changes:

- Nodes `(variable_name)`, `(expr_variable_name)`, `(variable_name_short)`, are exposed as `(name)`.
2025-10-11 10:52:02 +02:00
Steven Xu
de003000a2 feat(tmux)!: update parser and highlights
Breaking changes:

- Node `(variable)` was renamed to `(expr_double_quotes)`.
- Node `(variable_raw)` was renamed to `(expr_single_quotes)`.
- Node `(string)` was renamed to `(str_double_quotes)`.
- Node `(raw_string)` was renamed to `(str_single_quotes)`.
- Node `(raw_string_quote)` was removed.
2025-10-10 12:53:39 +02:00
Yorick Peterse
3ab4f2d2d2 feat(inko): update parser for let pattern matching
Commit 9d7ed4 of the Inko tree-sitter grammar introduces support for
pattern matching in `let` expressions. This requires some corresponding
changes to the "local" queries to correctly define local variables. This
is done by simply defining locals for all "identifier_pattern" nodes,
instead of only doing this for "define_variable" nodes.
2025-10-07 10:00:15 +02:00
blindfs
0594d1ba65 feat(nu)!: update parser and queries 2025-10-06 16:31:28 +02:00
Christian Clason
01ced7499f feat(angular)!: update parser and queries
Breaking change: node `(static_member_expression)` was removed
2025-10-04 11:13:37 +02:00
Yorick Peterse
b684696315 feat(inko): update parser and highlights
This commit includes syntax support for a few new syntax elements, and
updates the highlights queries to highlight two new expression keywords.
2025-10-03 15:18:41 +02:00
Omar Valdez
4709d4276c feat(python): highlight special brackets in format_expression 2025-10-03 09:53:33 +02:00
Riley Bruins
99bd52ba56
feat(java): highlight wildcards (#8165) 2025-10-02 03:33:49 +00:00
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