From de878155ca66c49b027b1380e4e60a6c665b2630 Mon Sep 17 00:00:00 2001 From: Igor Lacerda Date: Wed, 7 Jan 2026 12:39:29 -0300 Subject: [PATCH 01/51] fix(html_tags): disable spell for tags (#8410) When tags are embedded into markdown, they'd get spell checked, in spite of that not really making sense. The real culprit of this issue is markdown's spell being too "loose". --- runtime/queries/html_tags/highlights.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/queries/html_tags/highlights.scm b/runtime/queries/html_tags/highlights.scm index 9eaf813be..94a338aa7 100644 --- a/runtime/queries/html_tags/highlights.scm +++ b/runtime/queries/html_tags/highlights.scm @@ -1,9 +1,11 @@ -(tag_name) @tag +(tag_name) @tag @nospell ; (erroneous_end_tag_name) @error ; we do not lint syntax errors (comment) @comment @spell -(attribute_name) @tag.attribute +(attribute_name) @tag.attribute @nospell + +(attribute_value) @nospell ((attribute (quoted_attribute_value) @string) From 6feaebb4561711cf6b99f2e8b96715a9fc9b496b Mon Sep 17 00:00:00 2001 From: Chris Dragan Date: Thu, 8 Jan 2026 05:53:42 +0000 Subject: [PATCH 02/51] feat(kos): highlights improvements (#8404) * Mark floats as number.float * Mark function arguments as variable.parameter * Mark _ placeholder as character.special * Mark string interpolation delimiters as punctuation.special --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/kos/highlights.scm | 17 +++++++++++- tests/query/highlights/kos/test.kos | 40 ++++++++++++++++++++++++++--- 3 files changed, 54 insertions(+), 5 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index b7037d245..e8af232b6 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1189,7 +1189,7 @@ return { }, kos = { install_info = { - revision = '5f11d41b3150b0837e8b3964151ebb7fc4f367e9', + revision = '03b261c1a78b71c38cf4616497f253c4a4ce118b', url = 'https://github.com/kos-lang/tree-sitter-kos', }, maintainers = { '@cdragan' }, diff --git a/runtime/queries/kos/highlights.scm b/runtime/queries/kos/highlights.scm index 0942b2b89..07757d2e3 100644 --- a/runtime/queries/kos/highlights.scm +++ b/runtime/queries/kos/highlights.scm @@ -4,8 +4,13 @@ (number) @number +(float_number) @number.float + (identifier) @variable +(parameter + parameter: (identifier) @variable.parameter) + (property_identifier) @property [ @@ -57,8 +62,9 @@ "=>" ] @keyword.function +"_" @character.special + [ - "_" (line) "assert" ;"async" @@ -96,6 +102,15 @@ "}" ] @punctuation.bracket +(string_literal_begin + "\\(" @punctuation.special) + +(string_literal_continuation + "\\(" @punctuation.special) + +(formatted_string + ")" @punctuation.special) + [ ";" ":" diff --git a/tests/query/highlights/kos/test.kos b/tests/query/highlights/kos/test.kos index 981fdb313..4e1b0ec6d 100644 --- a/tests/query/highlights/kos/test.kos +++ b/tests/query/highlights/kos/test.kos @@ -21,15 +21,15 @@ fun name(arg1, # ^ keyword.function # ^ function # ^ punctuation.bracket -# ^ variable +# ^ variable.parameter # ^ punctuation.delimiter arg2 = "default", -# ^ variable +# ^ variable.parameter # ^ operator # ^ string # ^ punctuation.delimiter arg3...) -# ^ variable +# ^ variable.parameter # ^ operator # ^ punctuation.bracket { @@ -147,3 +147,37 @@ name.name() # ^ function.method.call # ^ punctuation.bracket # ^ punctuation.bracket + +print("hello \(123 + var) world \(true)") +# <- function.call +# ^ punctuation.bracket +# ^ string +# ^ punctuation.special +# ^ number +# ^ operator +# ^ variable +# ^ punctuation.special +# ^ string +# ^ punctuation.special +# ^ boolean +# ^ punctuation.special +# ^ punctuation.bracket + +[] -> each((x,_,y) => x + y) +# <- punctuation.bracket +#^ punctuation.bracket +# ^ operator +# ^ function.call +# ^ punctuation.bracket +# ^ punctuation.bracket +# ^ variable.parameter +# ^ punctuation.delimiter +# ^ character.special +# ^ punctuation.delimiter +# ^ variable.parameter +# ^ punctuation.bracket +# ^ keyword.function +# ^ variable +# ^ operator +# ^ variable +# ^ punctuation.bracket From 9177f2ff061627f0af0f994e3a3c620a84c0c59b Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Thu, 8 Jan 2026 06:59:10 +0100 Subject: [PATCH 03/51] feat(parsers): add bpftrace (#8399) Co-authored-by: Riley Bruins --- SUPPORTED_LANGUAGES.md | 1 + lua/nvim-treesitter/parsers.lua | 8 + runtime/queries/bpftrace/highlights.scm | 228 ++++++++++++++++++++++++ runtime/queries/bpftrace/injections.scm | 12 ++ 4 files changed, 249 insertions(+) create mode 100644 runtime/queries/bpftrace/highlights.scm create mode 100644 runtime/queries/bpftrace/injections.scm diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index 153483006..59be83a32 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -28,6 +28,7 @@ Language | Tier | Queries | Maintainer [bitbake](https://github.com/tree-sitter-grammars/tree-sitter-bitbake) | unstable | `HFIJL` | @amaanq [blade](https://github.com/EmranMR/tree-sitter-blade) | unstable | `HFIJ ` | @calebdw [bp](https://github.com/ambroisie/tree-sitter-bp)[^bp] | unstable | `HFIJL` | @ambroisie +[bpftrace](https://github.com/sgruszka/tree-sitter-bpftrace) | unstable | `H  J ` | @sgruszka [brightscript](https://github.com/ajdelcimmuto/tree-sitter-brightscript) | unstable | `HFIJ ` | @ajdelcimmuto [c](https://github.com/tree-sitter/tree-sitter-c) | unstable | `HFIJL` | @amaanq [c3](https://github.com/c3lang/tree-sitter-c3) | unstable | `HFIJ ` | @cbuttner diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index e8af232b6..1aa37c35c 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -140,6 +140,14 @@ return { readme_note = 'Android Blueprint', tier = 2, }, + bpftrace = { + install_info = { + revision = '9cdfa285bb4fd3abc74cce6e2fb46f381feca987', + url = 'https://github.com/sgruszka/tree-sitter-bpftrace', + }, + maintainers = { '@sgruszka' }, + tier = 2, + }, brightscript = { install_info = { revision = '253fdfaa23814cb46c2d5fc19049fa0f2f62c6da', diff --git a/runtime/queries/bpftrace/highlights.scm b/runtime/queries/bpftrace/highlights.scm new file mode 100644 index 000000000..30a489537 --- /dev/null +++ b/runtime/queries/bpftrace/highlights.scm @@ -0,0 +1,228 @@ +; Comments +[ + (line_comment) + (block_comment) +] @comment @spell + +; String and numeric literals +(string_literal) @string + +(escape_sequence) @string.escape + +(integer_literal) @number + +(boolean_literal) @boolean + +; Variables +(identifier) @variable + +(args_keyword) @variable.builtin + +((identifier) @variable.builtin + (#lua-match? @variable.builtin "^arg[0-9]+$")) + +(scratch_variable) @variable + +(map_variable) @variable + +(script_parameter) @variable.parameter + +; Macro +(macro_definition + (identifier) @function.macro) + +; Probes +; fentry/fexit, kprobe/kretprobe, rawtracepoint +(probe + provider: (_) @type.builtin + module: (wildcard_identifier) @module + function: (wildcard_identifier) @property) + +(probe + provider: (_) @type.builtin + function: (wildcard_identifier) @property) + +; uprobe/uretprobe +(probe + provider: (uprobe_uretprobe_provider) @type.builtin + binary: (file_identifier) @string.special.path + function: (identifier) @property) + +; tracepoint +(probe + provider: (_) @type.builtin + subsys: (wildcard_identifier) @module + event: (wildcard_identifier) @property) + +; software/hardware +(probe + provider: (_) @type.builtin + event: (identifier_with_dash) @property + count: (integer_literal) @number) + +(probe + provider: (_) @type.builtin + event: (identifier_with_dash) @property) + +; bench/test +(probe + provider: (bench_test_provider) @type.builtin + function: (identifier) @property) + +; profile/interval +(probe + provider: (profile_interval_provider) @type.builtin + unit: (time_unit) @string.special + count: (integer_literal) @property) + +(probe + provider: (profile_interval_provider) @type.builtin + count: (integer_literal) @number) + +; iter +(probe + provider: (iter_provider) @type.builtin + object: (identifier) @module + pin: (file_identifier) @property) + +(probe + provider: (iter_provider) @type.builtin + object: (identifier) @module) + +; ustd +(probe + provider: (ustd_provider) @type.builtin + binary: (file_identifier) @string.special.path + namespace: (identifier) @variable + function: (identifier) @property) + +(probe + provider: (ustd_provider) @type.builtin + binary: (file_identifier) @string.special.path + function: (identifier) @property) + +; watchpoint/asyncwatchpoint +(probe + provider: (watchpoint_provider) @type.builtin + address: (integer_literal) @number + length: (integer_literal) @number + mode: (watchpoint_mode) @property) + +; Types +(type_specifier) @type + +(integer_type) @type.builtin + +[ + "BEGIN" + "begin" + "END" + "end" +] @type.builtin + +; Keywords +(hashbang) @keyword.directive + +(return_statement) @keyword.return + +[ + "config" + "let" + "macro" + "offsetof" + "sizeof" +] @keyword + +[ + "if" + "else" +] @keyword.conditional + +[ + "for" + "unroll" + "while" + (break_statement) + (continue_statement) +] @keyword.repeat + +"import" @keyword.import + +(field_expression + field: (identifier) @property) + +(call_expression + function: (identifier) @function.call) + +; Punctuations +[ + "(" + ")" + "[" + "]" + "{" + "}" +] @punctuation.bracket + +[ + "," + ";" + ":" + "." +] @punctuation.delimiter + +; Operators +[ + ; Field access + "->" + ; Range + ".." + ; Assignment + "=" + "<<=" + ">>=" + "+=" + "-=" + "*=" + "/=" + "%=" + "&=" + "|=" + "^=" + ; Update + "--" + "++" + ; Arithmetic + "%" + "+" + "-" + "*" + "/" + ; Relational + "<=" + "<" + ">=" + ">" + "==" + "!=" + ; Bitwise + "&" + "^" + "|" + "~" + "<<" + ">>" + ; Logical + "&&" + "||" + "!" +] @operator + +(conditional_expression + [ + "?" + ":" + ] @keyword.conditional.ternary) + +(predicate + "/" @punctuation.delimiter) diff --git a/runtime/queries/bpftrace/injections.scm b/runtime/queries/bpftrace/injections.scm new file mode 100644 index 000000000..8907d9f84 --- /dev/null +++ b/runtime/queries/bpftrace/injections.scm @@ -0,0 +1,12 @@ +([ + (c_struct) + (c_preproc) + (c_preproc_block) +] @injection.content + (#set! injection.language "c")) + +([ + (line_comment) + (block_comment) +] @injection.content + (#set! injection.language "comment")) From 5e8652dbafca97855514c5aab9ae6f7901d2504b Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Wed, 7 Jan 2026 22:05:52 -0800 Subject: [PATCH 04/51] fix(usd): misc punctuation highlights --- runtime/queries/usd/highlights.scm | 2 ++ tests/query/highlights/usd/prims.usda | 2 ++ 2 files changed, 4 insertions(+) diff --git a/runtime/queries/usd/highlights.scm b/runtime/queries/usd/highlights.scm index d6c2a3668..98a7ff95c 100644 --- a/runtime/queries/usd/highlights.scm +++ b/runtime/queries/usd/highlights.scm @@ -52,12 +52,14 @@ "]" "{" "}" + "[]" ] @punctuation.bracket [ ":" ";" "." + "," ] @punctuation.delimiter "=" @operator diff --git a/tests/query/highlights/usd/prims.usda b/tests/query/highlights/usd/prims.usda index da9a5d6fe..dcb6c3b59 100644 --- a/tests/query/highlights/usd/prims.usda +++ b/tests/query/highlights/usd/prims.usda @@ -3,8 +3,10 @@ def Xform "cube" ( # <- @keyword asset[] payloadAssetDependencies = [@fizz.usd@, @buzz.usd@] # <- @type + # ^ @punctuation.bracket # ^ @keyword # ^ @string.special.url + # ^ @punctuation.delimiter # ^ @string.special.url } ) From 2ba5ec184609a96b513bf4c53a20512d64e27f39 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 8 Jan 2026 10:22:02 +0100 Subject: [PATCH 05/51] test(init): remove upstreamed Nickel ft detection --- scripts/minimal_init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/minimal_init.lua b/scripts/minimal_init.lua index 4a5e14f16..a90f56004 100644 --- a/scripts/minimal_init.lua +++ b/scripts/minimal_init.lua @@ -7,7 +7,6 @@ vim.cmd.runtime({ 'plugin/filetypes.lua', bang = true }) vim.filetype.add({ extension = { conf = 'hocon', - ncl = 'nickel', tig = 'tiger', w = 'wing', }, From 6016f1232dea2c3f4e60a90d36510a362d5703e0 Mon Sep 17 00:00:00 2001 From: "nvim-treesitter-bot[bot]" <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 06:51:38 +0000 Subject: [PATCH 06/51] bot(parsers): update beancount, bpftrace, c3, fortran, gleam, lua, mlir, sql --- lua/nvim-treesitter/parsers.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 1aa37c35c..ab2ec1c1f 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -93,7 +93,7 @@ return { }, beancount = { install_info = { - revision = '653cce316fbff8d212a2488ae13df648efb542a4', + revision = '23b21252da8b8cb0f03d1d1fc4c8f87d407e1cdf', url = 'https://github.com/polarmutex/tree-sitter-beancount', }, maintainers = { '@polarmutex' }, @@ -142,7 +142,7 @@ return { }, bpftrace = { install_info = { - revision = '9cdfa285bb4fd3abc74cce6e2fb46f381feca987', + revision = 'dee4269b564fdf7071ee454e873767fd334f79ae', url = 'https://github.com/sgruszka/tree-sitter-bpftrace', }, maintainers = { '@sgruszka' }, @@ -166,7 +166,7 @@ return { }, c3 = { install_info = { - revision = '805f776dcfbfef5c9baf4270ec942b3e8dc7ff16', + revision = '2c04e7858d63497152d42f08d3067972618aeedc', url = 'https://github.com/c3lang/tree-sitter-c3', }, maintainers = { '@cbuttner' }, @@ -592,7 +592,7 @@ return { }, fortran = { install_info = { - revision = 'e0132896b8959c09dc20b56e4a1c5d25bc341697', + revision = '589151aab08fdd7404678330e8abacf9b78bb595', url = 'https://github.com/stadelmanma/tree-sitter-fortran', }, maintainers = { '@amaanq' }, @@ -700,7 +700,7 @@ return { }, gleam = { install_info = { - revision = '0c0c63a07998767b22f0d2655f903611eca6acd0', + revision = 'dd4e328c5fd5f158d47a22339d8ce0f8be918a0b', url = 'https://github.com/gleam-lang/tree-sitter-gleam', }, maintainers = { '@amaanq' }, @@ -1294,7 +1294,7 @@ return { }, lua = { install_info = { - revision = 'e284fcec45ead0d477e326fccd2cd4a68a89dae4', + revision = 'de08dfd9640604763558530d2ce703cbe6a16bb6', url = 'https://github.com/tree-sitter-grammars/tree-sitter-lua', }, maintainers = { '@muniftanjim' }, @@ -1397,7 +1397,7 @@ return { mlir = { install_info = { generate = true, - revision = 'c7eec06be8a9ddae688e1b03fca2eed79e9801c4', + revision = '9edc9201736c5a471314b4e28c20d0f0b4642b6f', url = 'https://github.com/artagnon/tree-sitter-mlir', }, maintainers = { '@artagnon' }, @@ -2139,7 +2139,7 @@ return { sql = { install_info = { branch = 'gh-pages', - revision = '2d5dcd16f9ee49cb5a6d99eabb00fd4ea298587f', + revision = '5129061608da71146c813e13c32a54f4b13645c8', url = 'https://github.com/derekstride/tree-sitter-sql', }, maintainers = { '@derekstride' }, From 5a7e5638e7d220575b1c22c8a2e099b52231886e Mon Sep 17 00:00:00 2001 From: "nvim-treesitter-bot[bot]" <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 06:51:35 +0000 Subject: [PATCH 07/51] bot(parsers): update inko --- lua/nvim-treesitter/parsers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index ab2ec1c1f..1bee7e59b 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1033,7 +1033,7 @@ return { }, inko = { install_info = { - revision = 'v0.4.0', + revision = 'v0.5.1', url = 'https://github.com/inko-lang/tree-sitter-inko', }, maintainers = { '@yorickpeterse' }, From c872ec85cc73fba3f3368f6974d17b82f7c0f72b Mon Sep 17 00:00:00 2001 From: Abbath Date: Tue, 13 Jan 2026 02:19:22 +0100 Subject: [PATCH 08/51] fix(haskell): syntax highlighting for Haskell lambda expressions Fixes highlighting for lambdas with multiple parameters. --- runtime/queries/haskell/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm index de0eaf0a1..8e9f1b3c3 100644 --- a/runtime/queries/haskell/highlights.scm +++ b/runtime/queries/haskell/highlights.scm @@ -9,7 +9,8 @@ (_) @variable.parameter)) (expression/lambda - (_)+ @variable.parameter + patterns: (patterns + (_) @variable.parameter) "->") (decl/function From 15b3416cc1f557c4932468e512a0bd45871167bc Mon Sep 17 00:00:00 2001 From: Abbath Date: Wed, 14 Jan 2026 11:16:45 +0100 Subject: [PATCH 09/51] fix(haskell): highlighting for operator definition and operator-like constructors. --- runtime/queries/haskell/highlights.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm index 8e9f1b3c3..9d043b49d 100644 --- a/runtime/queries/haskell/highlights.scm +++ b/runtime/queries/haskell/highlights.scm @@ -227,7 +227,9 @@ (qualified ((module) @module (variable) @function.call)) - ]) + ] + (operator) @_op + (#match? @_op "^[^:].*")) ; infix operators applied to variables ((expression/variable) @variable @@ -246,7 +248,7 @@ (function (infix left_operand: [ - (variable) @variable + (variable) @variable.parameter (qualified ((module) @module (variable) @variable)) From 8aada0e3940c573e38b417a226b43bc8675f8958 Mon Sep 17 00:00:00 2001 From: Abbath Date: Fri, 16 Jan 2026 17:56:29 +0100 Subject: [PATCH 10/51] fix(haskell): use grammar for operator detection instead of match --- runtime/queries/haskell/highlights.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm index 9d043b49d..d0fdc17f6 100644 --- a/runtime/queries/haskell/highlights.scm +++ b/runtime/queries/haskell/highlights.scm @@ -228,8 +228,7 @@ ((module) @module (variable) @function.call)) ] - (operator) @_op - (#match? @_op "^[^:].*")) + operator: (operator)) ; infix operators applied to variables ((expression/variable) @variable From 7c14161403275550f94e1b218510f3ecbbb3c58e Mon Sep 17 00:00:00 2001 From: "nvim-treesitter-bot[bot]" <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> Date: Sat, 17 Jan 2026 06:51:48 +0000 Subject: [PATCH 11/51] bot(parsers): update bpftrace, desktop, editorconfig, glimmer, javadoc, liquidsoap, markdown, markdown_inline, matlab, meson, mlir, nim, pkl, rego, rescript, swift, vhdl, xresources --- lua/nvim-treesitter/parsers.lua | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 1bee7e59b..b45d1067d 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -142,7 +142,7 @@ return { }, bpftrace = { install_info = { - revision = 'dee4269b564fdf7071ee454e873767fd334f79ae', + revision = '99ad82e02067a25b2a717fc006ea74b1604f7115', url = 'https://github.com/sgruszka/tree-sitter-bpftrace', }, maintainers = { '@sgruszka' }, @@ -346,7 +346,7 @@ return { }, desktop = { install_info = { - revision = 'c0279c1fb1e2e1f06f374437815d4abda02e30b2', + revision = 'f9cf7575dd35ee3f0964efd850f5547023f8b3c7', url = 'https://github.com/ValdezFOmar/tree-sitter-desktop', }, maintainers = { '@ValdezFOmar' }, @@ -449,7 +449,7 @@ return { }, editorconfig = { install_info = { - revision = 'f8e8a4cefe4de5d7e87bd129f3a69bdcdf73eebe', + revision = '1c07dcd050e98eaaa9aa628599dda0406821899a', url = 'https://github.com/ValdezFOmar/tree-sitter-editorconfig', }, maintainers = { '@ValdezFOmar' }, @@ -708,7 +708,7 @@ return { }, glimmer = { install_info = { - revision = 'da605af8c5999b43e6839b575eae5e6cafabb06f', + revision = '88af85568bde3b91acb5d4c352ed094d0c1f9d84', url = 'https://github.com/ember-tooling/tree-sitter-glimmer', }, maintainers = { '@NullVoxPopuli' }, @@ -1066,7 +1066,7 @@ return { }, javadoc = { install_info = { - revision = '373fbd84f35aff70031426ed6edf3cdf52b93532', + revision = '60bfacbc38a4d7902915ddf5338d0035274226d5', url = 'https://github.com/rmuir/tree-sitter-javadoc', }, maintainers = { '@rmuir' }, @@ -1278,7 +1278,7 @@ return { }, liquidsoap = { install_info = { - revision = '4de01f44de2c051c33832ce523cf44690561320d', + revision = 'd092c65598e940564e12214ff7c2097528cfa159', url = 'https://github.com/savonet/tree-sitter-liquidsoap', }, maintainers = { '@toots' }, @@ -1345,7 +1345,7 @@ return { markdown = { install_info = { location = 'tree-sitter-markdown', - revision = '2dfd57f547f06ca5631a80f601e129d73fc8e9f0', + revision = 'aca7767daa8bbe3daddafc312c34be88383c828b', url = 'https://github.com/tree-sitter-grammars/tree-sitter-markdown', }, maintainers = { '@MDeiml' }, @@ -1356,7 +1356,7 @@ return { markdown_inline = { install_info = { location = 'tree-sitter-markdown-inline', - revision = '2dfd57f547f06ca5631a80f601e129d73fc8e9f0', + revision = 'aca7767daa8bbe3daddafc312c34be88383c828b', url = 'https://github.com/tree-sitter-grammars/tree-sitter-markdown', }, maintainers = { '@MDeiml' }, @@ -1365,7 +1365,7 @@ return { }, matlab = { install_info = { - revision = '1bccabdbd420a9c3c3f96f36d7f9e65b3d9c88ef', + revision = 'f3eef66526fdae0469207d8e561fb5771eea1721', url = 'https://github.com/acristoffers/tree-sitter-matlab', }, maintainers = { '@acristoffers' }, @@ -1388,7 +1388,7 @@ return { }, meson = { install_info = { - revision = 'd4fa3c7260d1537ac5183740b9338373a673d5c0', + revision = '64ecb49f15417ee08037ddbcf29709dbabb67a8a', url = 'https://github.com/tree-sitter-grammars/tree-sitter-meson', }, maintainers = { '@Decodetalkers' }, @@ -1397,7 +1397,7 @@ return { mlir = { install_info = { generate = true, - revision = '9edc9201736c5a471314b4e28c20d0f0b4642b6f', + revision = 'c457b68dd485c6bcbd82acc642ead9340f37fa77', url = 'https://github.com/artagnon/tree-sitter-mlir', }, maintainers = { '@artagnon' }, @@ -1436,7 +1436,7 @@ return { }, nim = { install_info = { - revision = '4ad352773688deb84a95eeaa9872acda5b466439', + revision = '9b4ede21a6ca866d29263f6b66c070961bc622b4', url = 'https://github.com/alaviss/tree-sitter-nim', }, maintainers = { '@aMOPel' }, @@ -1608,7 +1608,7 @@ return { }, pkl = { install_info = { - revision = 'ac58931956c000d3aeefbb55a81fc3c5bd6aecf0', + revision = 'd9c591b4e770934fe15c2f1b3658f35553f6cb40', url = 'https://github.com/apple/tree-sitter-pkl', }, maintainers = { '@ribru17' }, @@ -1883,7 +1883,7 @@ return { }, rego = { install_info = { - revision = '20b5a5958c837bc9f74b231022a68a594a313f6d', + revision = 'ddd39af81fe8b0288102a7cb97959dfce723e0f3', url = 'https://github.com/FallenAngel97/tree-sitter-rego', }, maintainers = { '@FallenAngel97' }, @@ -1900,7 +1900,7 @@ return { }, rescript = { install_info = { - revision = 'd2df8a285fff95de56a91d2f8152aeceb66f40ef', + revision = '4abea6f22b180cd5a82b55941a9c42c1d281c30f', url = 'https://github.com/rescript-lang/tree-sitter-rescript', }, maintainers = { '@ribru17' }, @@ -2230,7 +2230,7 @@ return { swift = { install_info = { generate = true, - revision = '82a239e4c164b0567fb99b80b53f99ba661f2168', + revision = '237e5dc79f041ca775b1742e36ba18f15fcece83', url = 'https://github.com/alex-pinkus/tree-sitter-swift', }, maintainers = { '@alex-pinkus' }, @@ -2520,7 +2520,7 @@ return { }, vhdl = { install_info = { - revision = '7ae08deb5d1641aa57111342218ca1e1b3a5d539', + revision = '674ed9fe6c13c79c0e7407daaf4518d053e6f0f4', url = 'https://github.com/jpt13653903/tree-sitter-vhdl', }, maintainers = { '@jpt13653903' }, @@ -2628,7 +2628,7 @@ return { }, xresources = { install_info = { - revision = 'f60fb1e661d85f35fb8e7b988a41d2a74f65bfd4', + revision = 'c08cb31b8a3a8c37cc8a98ff251790994bbfb25e', url = 'https://github.com/ValdezFOmar/tree-sitter-xresources', }, maintainers = { '@ValdezFOmar' }, From 19261d56ed222ed93c6310943af0954d54c618fa Mon Sep 17 00:00:00 2001 From: Nico Salm Date: Fri, 16 Jan 2026 01:09:25 -0600 Subject: [PATCH 12/51] fix(rust): highlight doc comment markers as @comment.documentation Co-authored-by: LunarLambda --- runtime/queries/rust/highlights.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index de9d09684..2342dcfa3 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -476,9 +476,12 @@ [ (line_comment) (block_comment) +] @comment @spell + +[ (outer_doc_comment_marker) (inner_doc_comment_marker) -] @comment @spell +] @comment.documentation (line_comment (doc_comment)) @comment.documentation From d19def46c112c26c17adeef88dd1253cc6d623a1 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 17 Jan 2026 16:10:23 +0100 Subject: [PATCH 13/51] fix(make): switch to maintained fork --- SUPPORTED_LANGUAGES.md | 2 +- lua/nvim-treesitter/parsers.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index 59be83a32..421ed2026 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -175,7 +175,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | @steelsojka [luap](https://github.com/tree-sitter-grammars/tree-sitter-luap)[^luap] | unstable | `H    ` | @amaanq [luau](https://github.com/tree-sitter-grammars/tree-sitter-luau) | unstable | `HFIJL` | @amaanq [m68k](https://github.com/grahambates/tree-sitter-m68k) | unstable | `HF JL` | @grahambates -[make](https://github.com/alemuller/tree-sitter-make) | unstable | `HF J ` | @lewis6991 +[make](https://github.com/tree-sitter-grammars/tree-sitter-make) | unstable | `HF J ` | @lewis6991 [markdown](https://github.com/tree-sitter-grammars/tree-sitter-markdown)[^markdown] | unstable | `HFIJ ` | @MDeiml [markdown_inline](https://github.com/tree-sitter-grammars/tree-sitter-markdown)[^markdown_inline] | unstable | `H  J ` | @MDeiml [matlab](https://github.com/acristoffers/tree-sitter-matlab) | unstable | `HFIJL` | @acristoffers diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index b45d1067d..de7a85171 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1336,8 +1336,8 @@ return { }, make = { install_info = { - revision = 'a4b9187417d6be349ee5fd4b6e77b4172c6827dd', - url = 'https://github.com/alemuller/tree-sitter-make', + revision = '5e9e8f8ff3387b0edcaa90f46ddf3629f4cfeb1d', + url = 'https://github.com/tree-sitter-grammars/tree-sitter-make', }, maintainers = { '@lewis6991' }, tier = 2, From 3121570f07fb6da120e22208d82ea70c7cbcd457 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 17 Jan 2026 14:41:56 +0100 Subject: [PATCH 14/51] docs(contributing): inclusion criteria --- CONTRIBUTING.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0dc03947b..52ec52633 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,6 +14,21 @@ Before describing these in detail, some general advice: ## Parsers +>[!IMPORTANT] +> To qualify for inclusion, a parser must meet the following criteria: +> * correspond to a filetype detected by Neovim (nightly) +> * feature complete, tested by users, and actively maintained (according to maintainer discretion) +> * hosted or mirrored on Github (other codeforges are not reliable enough for CI) +> * covered by CI using [upstream workflows](https://github.com/tree-sitter/workflows) +> * provide reference queries covered by a [`ts_query_ls` workflow](https://github.com/tree-sitter-grammars/template/blob/9c46d09d688d27c7aef31c2b32f50260de4e7906/.github/workflows/ci.yml#L69-L86) +> * if the repo contains a `src/parser.c`, it must support the latest ABI +> * if the repo does _not_ contain a `src/parser.c`, it must contain an up-to-date `src/grammar.json` +> * if the repo contains an external scanner, it must be written in C99 +> +> Tier 1 parsers (preferred) in addition need to +> * make regular releases following semver (_patch_ for fixes not affecting queries; _minor_ for changes introducing new nodes or patterns; _major_ for changes removing nodes or previously valid patterns) +> * provide WASM release artifacts + To add a new parser, edit the following files: 1. In `lua/parsers.lua`, add an entry to the returned table of the following form: @@ -36,30 +51,15 @@ zimbu = { } ``` ->[!IMPORTANT] -> If the repo does not contain a pre-generated `src/parser.c`, it **must** at least contain `src/grammar.json` so that the parser can be generated without having `node` installed. - >[!IMPORTANT] > The "maintainers" here refers to the person maintaining the **queries** in `nvim-treesitter`, not the parser maintainers (who likely don't use Neovim). The maintainers' duty is to review issues and PRs related to the query and to keep them updated with respect to parser changes. ->[!IMPORTANT] -> Due to reliability issues with smaller codeforges, only Github-hosted parsers are currently eligible for inclusion. (The development may happen elsewhere, but there must at least exist a Github mirror to pull the source from.) We are monitoring the situation and hope to support more codeforges again in the future. - ->[!NOTE] -> To qualify for Tier 1 ("stable"), a parser needs to -> * make releases following semver (_patch_ for fixes not affecting queries; _minor_ for changes introducing new nodes or patterns; _major_ for changes removing nodes or previously valid patterns); -> * provide WASM release artifacts; -> * include and maintain reference queries. - 2. If the parser name is not the same as the Vim filetype, add an entry to the `filetypes` table in `plugin/filetypes.lua`: ```lua zimbu = { 'zu' }, ``` ->[!IMPORTANT] -> Only external scanners written in C are supported for portability reasons. - 3. Update the list of [supported languages] by running `make docs` (or `./scripts/update-readme.lua` if on Windows). 4. Test if both `:TSInstall zimbu` and `:TSInstallFromGrammar zimbu` work without errors (`:checkhealth treesitter` or `./scripts/check-parsers.lua zimbu`). From d9a5fb8484374e8ed5d88dd9e0475a760c168d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Biega=C5=84ski?= Date: Sun, 18 Jan 2026 17:18:53 +0100 Subject: [PATCH 15/51] docs(supported_languages): fix order of available queries --- SUPPORTED_LANGUAGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index 421ed2026..32d538361 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -4,7 +4,7 @@ The following is a list of languages for which a parser can be installed through Legend: - **Tier:** _stable_ (updates follow semver releases), _unstable_ (updates follow HEAD), _unmaintained_ (no automatic updates), or _unsupported_ (known to be broken, cannot be installed) -- **Queries** available for **H**ighlights, **I**ndents, **F**olds, In**J**ections, **L**ocals +- **Queries** available for **H**ighlights, **F**olds, **I**ndents, In**J**ections, **L**ocals - **Maintainer** of queries in nvim-treesitter (may be different from parser maintainer!) From b9933f0e1386c7b63fe131d9979d9c2613da551a Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 19 Jan 2026 10:32:26 +0100 Subject: [PATCH 16/51] test(init): remove upstreamed Tiger ft detection --- scripts/minimal_init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/minimal_init.lua b/scripts/minimal_init.lua index a90f56004..5af027d5a 100644 --- a/scripts/minimal_init.lua +++ b/scripts/minimal_init.lua @@ -7,7 +7,6 @@ vim.cmd.runtime({ 'plugin/filetypes.lua', bang = true }) vim.filetype.add({ extension = { conf = 'hocon', - tig = 'tiger', w = 'wing', }, }) From e75c007f2747050c2c620dc862c77b8f242551a8 Mon Sep 17 00:00:00 2001 From: Peter Cardenas <16930781+PeterCardenas@users.noreply.github.com> Date: Mon, 19 Jan 2026 05:34:27 -0800 Subject: [PATCH 17/51] fix(fish): update builtin highlights --- runtime/queries/fish/highlights.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/runtime/queries/fish/highlights.scm b/runtime/queries/fish/highlights.scm index 549bceda0..da5c52a32 100644 --- a/runtime/queries/fish/highlights.scm +++ b/runtime/queries/fish/highlights.scm @@ -112,15 +112,16 @@ (command name: (word) @function.call) -; derived from builtin -n (fish 3.2.2) +; derived from builtin -n (fish 4.3.3) (command name: [ (word) @function.builtin (#any-of? @function.builtin "." ":" "_" "abbr" "alias" "argparse" "bg" "bind" "block" "breakpoint" "builtin" "cd" "command" "commandline" "complete" "contains" "count" "disown" "echo" "emit" "eval" "exec" - "exit" "fg" "functions" "history" "isatty" "jobs" "math" "path" "printf" "pwd" "random" "read" - "realpath" "set" "set_color" "source" "status" "string" "test" "time" "type" "ulimit" "wait") + "exit" "fg" "fish_indent" "fish_key_reader" "functions" "history" "isatty" "jobs" "math" + "path" "printf" "pwd" "random" "read" "realpath" "set" "set_color" "source" "status" "string" + "test" "time" "type" "ulimit" "wait") ]) ; Functions @@ -163,15 +164,15 @@ ; Reference: https://fishshell.com/docs/current/language.html#special-variables ((variable_name) @variable.builtin (#any-of? @variable.builtin - "PATH" "CDPATH" "LANG" "LC_ALL" "LC_COLLATE" "LC_CTYPE" "LC_MESSAGES" "LC_MONETARY" "LC_NUMERIC" - "LC_TIME" "fish_color_normal" "fish_color_command" "fish_color_keyword" "fish_color_keyword" - "fish_color_redirection" "fish_color_end" "fish_color_error" "fish_color_param" - "fish_color_valid_path" "fish_color_option" "fish_color_comment" "fish_color_selection" - "fish_color_operator" "fish_color_escape" "fish_color_autosuggestion" "fish_color_cwd" - "fish_color_cwd_root" "fish_color_user" "fish_color_host" "fish_color_host_remote" - "fish_color_status" "fish_color_cancel" "fish_color_search_match" "fish_color_history_current" - "fish_pager_color_progress" "fish_pager_color_background" "fish_pager_color_prefix" - "fish_pager_color_completion" "fish_pager_color_description" + "PATH" "CDPATH" "LANG" "LANGUAGE" "LC_ALL" "LC_COLLATE" "LC_CTYPE" "LC_MESSAGES" "LC_MONETARY" + "LC_NUMERIC" "LC_TIME" "fish_color_normal" "fish_color_command" "fish_color_keyword" + "fish_color_keyword" "fish_color_redirection" "fish_color_end" "fish_color_error" + "fish_color_param" "fish_color_valid_path" "fish_color_option" "fish_color_comment" + "fish_color_selection" "fish_color_operator" "fish_color_escape" "fish_color_autosuggestion" + "fish_color_cwd" "fish_color_cwd_root" "fish_color_user" "fish_color_host" + "fish_color_host_remote" "fish_color_status" "fish_color_cancel" "fish_color_search_match" + "fish_color_history_current" "fish_pager_color_progress" "fish_pager_color_background" + "fish_pager_color_prefix" "fish_pager_color_completion" "fish_pager_color_description" "fish_pager_color_selected_background" "fish_pager_color_selected_prefix" "fish_pager_color_selected_completion" "fish_pager_color_selected_description" "fish_pager_color_secondary_background" "fish_pager_color_secondary_prefix" @@ -183,8 +184,8 @@ "fish_cursor_visual" "fish_cursor_external" "fish_function_path" "fish_greeting" "fish_history" "fish_trace" "FISH_DEBUG" "FISH_DEBUG_OUTPUT" "fish_user_paths" "umask" "BROWSER" "_" "argv" "CMD_DURATION" "COLUMNS" "LINES" "fish_kill_signal" "fish_killring" "fish_read_limit" "fish_pid" - "history" "HOME" "hostname" "IFS" "last_pid" "PWD" "pipestatus" "SHLVL" "status" - "status_generation" "TERM" "USER" "EUID" "version" "FISH_VERSION")) + "fish_terminal_color_theme" "history" "HOME" "hostname" "IFS" "last_pid" "PWD" "pipestatus" + "SHLVL" "status" "status_generation" "TERM" "USER" "EUID" "version" "FISH_VERSION")) ; Nodes [ From ec034813775d7e2974c7551c8c34499a828963f8 Mon Sep 17 00:00:00 2001 From: mintbug Date: Tue, 20 Jan 2026 17:32:27 +0300 Subject: [PATCH 18/51] feat(typst): set url attribute for links --- runtime/queries/typst/highlights.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/runtime/queries/typst/highlights.scm b/runtime/queries/typst/highlights.scm index a0dcc1b89..0ae538fe1 100644 --- a/runtime/queries/typst/highlights.scm +++ b/runtime/queries/typst/highlights.scm @@ -106,7 +106,17 @@ (emph) @markup.italic -(url) @markup.link.url +((url) @markup.link.url + (#set! @markup.link.url url @markup.link.url)) + +(call + item: (ident) @_link + (#eq? @_link "link") + (group + . + (string) @markup.link.url + (#offset! @markup.link.url 0 1 0 -1) + (#set! @markup.link.url url @markup.link.url))) ; code blocks (raw_span) @markup.raw From 0d1b8b026b1c731011697f8010bc4856126c1f06 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 22 Jan 2026 18:23:05 +0100 Subject: [PATCH 19/51] ci: use ubuntu-slim for small jobs --- .github/workflows/lint.yml | 6 +++--- .github/workflows/update-parsers.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 41830b225..6ed8e7ba2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ on: jobs: lua: name: Lint Lua files - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 @@ -26,7 +26,7 @@ jobs: queries: name: Lint query files - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 @@ -40,7 +40,7 @@ jobs: readme: name: Lint docs - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/update-parsers.yml b/.github/workflows/update-parsers.yml index 23741d761..7b68b2412 100644 --- a/.github/workflows/update-parsers.yml +++ b/.github/workflows/update-parsers.yml @@ -15,7 +15,7 @@ jobs: matrix: tier: [1, 2] name: Update parsers tier ${{ matrix.tier }} - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 with: From 61d3f5b186dbaf0eb12528b9ff9343fb1c2a956f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 22 Jan 2026 18:24:05 +0100 Subject: [PATCH 20/51] test(lint): bump luals to 3.17.1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15482e03b..9442df997 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NVIM_VERSION ?= nightly -LUALS_VERSION := 3.15.0 +LUALS_VERSION := 3.17.1 DEPDIR ?= .test-deps CURL ?= curl -sL --create-dirs From 62dad2a60a10ca8e2b835875841b01b1c3f9304d Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 22 Jan 2026 18:30:35 +0100 Subject: [PATCH 21/51] ci: add concurrency for downstream tests --- .github/workflows/downstream.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index e9f69fb72..c3829c51a 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -8,6 +8,10 @@ on: - "lua/nvim-treesitter/parsers.lua" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-generate-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: test-downstream: name: Check downstream queries From 511e5ccf404f8a96ee31866b079fca033a8a7c4e Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 22 Jan 2026 18:37:55 +0100 Subject: [PATCH 22/51] ci: correct concurrency group for downstream --- .github/workflows/downstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index c3829c51a..46e699613 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-generate-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: From 88f1dfc211c3a2fb47f1451fd5edc972ec697e58 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Fri, 23 Jan 2026 09:03:17 +0100 Subject: [PATCH 23/51] feat(bpftrace): update parser and small highlights improvements Update parser. Use new builtins from grammar (don't use lua-match). --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/bpftrace/highlights.scm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index de7a85171..5ea9c8f69 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -142,7 +142,7 @@ return { }, bpftrace = { install_info = { - revision = '99ad82e02067a25b2a717fc006ea74b1604f7115', + revision = '0978030fdcdab74d49faaee2a60eb94607a367cc', url = 'https://github.com/sgruszka/tree-sitter-bpftrace', }, maintainers = { '@sgruszka' }, diff --git a/runtime/queries/bpftrace/highlights.scm b/runtime/queries/bpftrace/highlights.scm index 30a489537..19e568515 100644 --- a/runtime/queries/bpftrace/highlights.scm +++ b/runtime/queries/bpftrace/highlights.scm @@ -18,8 +18,9 @@ (args_keyword) @variable.builtin -((identifier) @variable.builtin - (#lua-match? @variable.builtin "^arg[0-9]+$")) +(argn_identifier) @variable.builtin + +(retval_identifier) @variable.builtin (scratch_variable) @variable From b67d29ce748c3c488485a4733e16acda0ec8d09e Mon Sep 17 00:00:00 2001 From: "nvim-treesitter-bot[bot]" <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 06:53:33 +0000 Subject: [PATCH 24/51] bot(parsers): update c_sharp, desktop, dtd, editorconfig, fennel, fortran, hcl, javadoc, just, lalrpop, lua, markdown, markdown_inline, meson, mlir, rescript, rifleconf, sql, swift, terraform, tlaplus, vim, xml, xresources --- lua/nvim-treesitter/parsers.lua | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 5ea9c8f69..65ffba196 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -174,7 +174,7 @@ return { }, c_sharp = { install_info = { - revision = '485f0bae0274ac9114797fc10db6f7034e4086e3', + revision = 'f05a2ca99d329de2e6c32f26a21c6169b2bfcbb7', url = 'https://github.com/tree-sitter/tree-sitter-c-sharp', }, maintainers = { '@amaanq' }, @@ -346,7 +346,7 @@ return { }, desktop = { install_info = { - revision = 'f9cf7575dd35ee3f0964efd850f5547023f8b3c7', + revision = '137292ae28e05011dbc7c5c383e2b25db1cf77c9', url = 'https://github.com/ValdezFOmar/tree-sitter-desktop', }, maintainers = { '@ValdezFOmar' }, @@ -419,7 +419,7 @@ return { dtd = { install_info = { location = 'dtd', - revision = '863dbc381f44f6c136a399e684383b977bb2beaa', + revision = '5000ae8f22d11fbe93939b05c1e37cf21117162d', url = 'https://github.com/tree-sitter-grammars/tree-sitter-xml', }, maintainers = { '@ObserverOfTime' }, @@ -449,7 +449,7 @@ return { }, editorconfig = { install_info = { - revision = '1c07dcd050e98eaaa9aa628599dda0406821899a', + revision = '851f2c2483239ce62f919bf3408ccd20dc0b5c01', url = 'https://github.com/ValdezFOmar/tree-sitter-editorconfig', }, maintainers = { '@ValdezFOmar' }, @@ -544,7 +544,7 @@ return { }, fennel = { install_info = { - revision = 'fd4a24e349bcbac8a03a5a00d0dfa207baf53ca5', + revision = '3f0f6b24d599e92460b969aabc4f4c5a914d15a0', url = 'https://github.com/alexmozaidze/tree-sitter-fennel', }, maintainers = { '@alexmozaidze' }, @@ -592,7 +592,7 @@ return { }, fortran = { install_info = { - revision = '589151aab08fdd7404678330e8abacf9b78bb595', + revision = '43cd127cd41ff6e57b3ececb3cc283c5af4796e7', url = 'https://github.com/stadelmanma/tree-sitter-fortran', }, maintainers = { '@amaanq' }, @@ -897,7 +897,7 @@ return { }, hcl = { install_info = { - revision = 'fad991865fee927dd1de5e172fb3f08ac674d914', + revision = '64ad62785d442eb4d45df3a1764962dafd5bc98b', url = 'https://github.com/tree-sitter-grammars/tree-sitter-hcl', }, maintainers = { '@MichaHoffmann' }, @@ -1066,7 +1066,7 @@ return { }, javadoc = { install_info = { - revision = '60bfacbc38a4d7902915ddf5338d0035274226d5', + revision = '141525e73c9ad2fe7df8861047d4068ddbb6c337', url = 'https://github.com/rmuir/tree-sitter-javadoc', }, maintainers = { '@rmuir' }, @@ -1157,7 +1157,7 @@ return { }, just = { install_info = { - revision = 'bb0c898a80644de438e6efe5d88d30bf092935cd', + revision = '7333f8c150aaac5bb46decc2d225a2d4cde8c51e', url = 'https://github.com/IndianBoy42/tree-sitter-just', }, maintainers = { '@Hubro' }, @@ -1229,7 +1229,7 @@ return { }, lalrpop = { install_info = { - revision = '8d38e9755c05d37df8a24dadb0fc64f6588ac188', + revision = '27b0f7bb55b4cabd8f01a933d9ee6a49dbfc2192', url = 'https://github.com/traxys/tree-sitter-lalrpop', }, maintainers = { '@traxys' }, @@ -1294,7 +1294,7 @@ return { }, lua = { install_info = { - revision = 'de08dfd9640604763558530d2ce703cbe6a16bb6', + revision = 'e40f5b6e6df9c2d1d6d664ff5d346a75d71ee6b2', url = 'https://github.com/tree-sitter-grammars/tree-sitter-lua', }, maintainers = { '@muniftanjim' }, @@ -1345,7 +1345,7 @@ return { markdown = { install_info = { location = 'tree-sitter-markdown', - revision = 'aca7767daa8bbe3daddafc312c34be88383c828b', + revision = 'da063e1ba4303ff08781eb440cc9a7bd41e55dd8', url = 'https://github.com/tree-sitter-grammars/tree-sitter-markdown', }, maintainers = { '@MDeiml' }, @@ -1356,7 +1356,7 @@ return { markdown_inline = { install_info = { location = 'tree-sitter-markdown-inline', - revision = 'aca7767daa8bbe3daddafc312c34be88383c828b', + revision = 'da063e1ba4303ff08781eb440cc9a7bd41e55dd8', url = 'https://github.com/tree-sitter-grammars/tree-sitter-markdown', }, maintainers = { '@MDeiml' }, @@ -1388,7 +1388,7 @@ return { }, meson = { install_info = { - revision = '64ecb49f15417ee08037ddbcf29709dbabb67a8a', + revision = 'c84f3540624b81fc44067030afce2ff78d6ede05', url = 'https://github.com/tree-sitter-grammars/tree-sitter-meson', }, maintainers = { '@Decodetalkers' }, @@ -1397,7 +1397,7 @@ return { mlir = { install_info = { generate = true, - revision = 'c457b68dd485c6bcbd82acc642ead9340f37fa77', + revision = '4ab28ecdacef343af56c09b7981580503e49fadb', url = 'https://github.com/artagnon/tree-sitter-mlir', }, maintainers = { '@artagnon' }, @@ -1900,7 +1900,7 @@ return { }, rescript = { install_info = { - revision = '4abea6f22b180cd5a82b55941a9c42c1d281c30f', + revision = '5938ae1578aa559b4fa903f7cabc31da14f71c84', url = 'https://github.com/rescript-lang/tree-sitter-rescript', }, maintainers = { '@ribru17' }, @@ -1908,7 +1908,7 @@ return { }, rifleconf = { install_info = { - revision = 'fe10eab6cacff239ec61f4456e793bed15703aaf', + revision = '6389ef0fc0d48f0397ec233109c074a0cb685e36', url = 'https://github.com/purarue/tree-sitter-rifleconf', }, maintainers = { '@purarue' }, @@ -2139,7 +2139,7 @@ return { sql = { install_info = { branch = 'gh-pages', - revision = '5129061608da71146c813e13c32a54f4b13645c8', + revision = '86e3d03837d282544439620eb74d224586074b8b', url = 'https://github.com/derekstride/tree-sitter-sql', }, maintainers = { '@derekstride' }, @@ -2230,7 +2230,7 @@ return { swift = { install_info = { generate = true, - revision = '237e5dc79f041ca775b1742e36ba18f15fcece83', + revision = 'c7287392d610ca9d7c80f9edd2c6ef8f518b377b', url = 'https://github.com/alex-pinkus/tree-sitter-swift', }, maintainers = { '@alex-pinkus' }, @@ -2320,7 +2320,7 @@ return { terraform = { install_info = { location = 'dialects/terraform', - revision = 'fad991865fee927dd1de5e172fb3f08ac674d914', + revision = '64ad62785d442eb4d45df3a1764962dafd5bc98b', url = 'https://github.com/MichaHoffmann/tree-sitter-hcl', }, maintainers = { '@MichaHoffmann' }, @@ -2353,7 +2353,7 @@ return { }, tlaplus = { install_info = { - revision = '2d831940c782850f64dabf5b7b17e9e51f7f0ebb', + revision = '8d749f9a598b47b7110c7340006c8eb8a9552566', url = 'https://github.com/tlaplus-community/tree-sitter-tlaplus', }, maintainers = { '@ahelwer', '@susliko' }, @@ -2536,7 +2536,7 @@ return { }, vim = { install_info = { - revision = '78866caaacf123f4d9d227fe1ab521cc62167a88', + revision = '1cd0a0892b389bd314a9bd09545160e5ee3c9137', url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim', }, maintainers = { '@clason' }, @@ -2619,7 +2619,7 @@ return { xml = { install_info = { location = 'xml', - revision = '863dbc381f44f6c136a399e684383b977bb2beaa', + revision = '5000ae8f22d11fbe93939b05c1e37cf21117162d', url = 'https://github.com/tree-sitter-grammars/tree-sitter-xml', }, maintainers = { '@ObserverOfTime' }, @@ -2628,7 +2628,7 @@ return { }, xresources = { install_info = { - revision = 'c08cb31b8a3a8c37cc8a98ff251790994bbfb25e', + revision = 'a81f1ea4478d03c223ef7eace535a36220bddd8c', url = 'https://github.com/ValdezFOmar/tree-sitter-xresources', }, maintainers = { '@ValdezFOmar' }, From 275b9fe801d56d5fea6d34f5bfea8bb24887b805 Mon Sep 17 00:00:00 2001 From: "nvim-treesitter-bot[bot]" <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 06:53:19 +0000 Subject: [PATCH 25/51] bot(parsers): update zsh --- lua/nvim-treesitter/parsers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 65ffba196..556bcdf8d 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -2692,7 +2692,7 @@ return { }, zsh = { install_info = { - revision = 'v0.52.1', + revision = 'v0.53.0', url = 'https://github.com/georgeharker/tree-sitter-zsh', }, maintainers = { '@georgeharker' }, From 67b3ce05295bb7fb6548de29ff651e48a59d2194 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Sat, 24 Jan 2026 16:21:10 -0500 Subject: [PATCH 26/51] fix(glimmer) update injections --- runtime/queries/glimmer/injections.scm | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/runtime/queries/glimmer/injections.scm b/runtime/queries/glimmer/injections.scm index 30b438682..9efa71f5e 100644 --- a/runtime/queries/glimmer/injections.scm +++ b/runtime/queries/glimmer/injections.scm @@ -3,19 +3,12 @@ (#set! injection.language "comment")) ;