Commit graph

1457 commits

Author SHA1 Message Date
Sneha De
2fa631f0b9 normalizing installdir is cleaner 2026-03-29 12:17:35 -07:00
Sneha De
0443595b12 strip slash, normalize rtp checks 2026-03-29 11:56:52 -07:00
nvim-treesitter-bot[bot]
7caec274fd bot(parsers): update beancount, gotmpl, heex, helm, idl, javadoc, jinja, jinja_inline, just, kotlin, liquid, mlir, ocaml, ocaml_interface, pkl, pod, rust, supercollider, typoscript 2026-03-28 07:33:46 +00:00
Adrian Wang
6620ae1c44
fix(install): use rename-before-unlink on all platforms
Problem: On macOS Apple Silicon, a plain unlink can leave stale code
signature metadata in the kernel cache, causing SIGKILL on next page
fault after `TSUpdate`.

Solution: Apply the rename-then-unlink strategy unconditionally instead
of only on Windows.
2026-03-23 10:32:51 +01:00
Christian Clason
8755152551
fix(parsers): track default branch for perl, pod (#8605)
Problem: non-default "release" branch tracking is broken, but the
default branch contains grammar.json.

Solution: track default `main` branch and generate parser from JSON.
2026-03-22 16:49:17 +00:00
Christian Clason
0e0db770f2 fix(parsers): don't specify default branch 2026-03-22 12:20:33 +01:00
nvim-treesitter-bot[bot]
e5f65e31a5 bot(parsers): update arduino, c3, cue, dart, fortran, fsharp, git_rebase, gleam, heex, idl, just, kotlin, ledger, mlir, nim, nu, php, php_only, powershell, proto, racket, rust, scheme, swift, vhdl 2026-03-21 07:17:33 +00:00
Christian Clason
53f6ce29df feat(zsh)!: update parser and queries 2026-03-20 10:43:21 +01:00
George Harker
b9f9d692f1
feat(zsh): update parser and queries
add `;|` highlighting
2026-03-16 20:08:58 +01:00
Christian Clason
ebc3201290 fix(zsh): mark as tier 2 2026-03-16 10:03:08 +01:00
Christian Clason
f873ec2955 refactor(config): no trailing slash in installdir 2026-03-14 19:19:10 +01:00
Luca Papagni
88a217f570
Show errors on vim.system failure (#8552)
Problem: `vim.system` throws an error when `uv.spawn` fails, in
particular when `cmd` or `cwd` does not exist. This kills the coroutine,
which makes the corresponding async call hang.

Solution: Wrap `vim.system` in a function that catches any error and
returns it as `stderr` in a `SystemObj`.

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2026-03-14 19:06:38 +01:00
nvim-treesitter-bot[bot]
eb1f8e80cb bot(parsers): update c3, elixir, erlang, fsharp, gitcommit, hyprlang, kotlin, ledger, pkl, powershell, proto, ruby, scala, scheme, t32, v 2026-03-14 07:15:51 +00:00
nvim-treesitter-bot[bot]
4110daee15 bot(parsers): update blade, elixir, gitcommit, groovy, idl, javadoc, kotlin, liquidsoap, matlab, nu, pkl, proto, t32, vhdl 2026-03-07 09:33:18 +00:00
nvim-treesitter-bot[bot]
9fd4d998c3 bot(parsers): update wit, zsh 2026-03-07 10:32:48 +01:00
Christian Clason
1970f0d3bb feat(robot)!: update parser and queries
Breaking change: replaced `(variable_definition)` by
`(scalar_variable)`, `(list_variable)` and `(dictionary_variable)`.

Also mark queries as unmaintained.
2026-03-06 11:04:36 +01:00
elgiano
544320a9cf feat(supercollider)!: update parser and queries
parser PR: https://github.com/madskjeldgaard/tree-sitter-supercollider/pull/67

removed nodes:
control_structure, if, while, for, forby, method_call,
method_name, instance_variable_setter_call, argument_calls

added nodes:
class_def_body, !==, ===

modified nodes:
function_call now has fields receiver, name and arguments
chained method calls now appear as nested function_calls (where receiver
is another function_call)
2026-03-04 12:35:03 +01:00
Christian Clason
972f378653 fix(config): normalize default install_dir
Problem: The default `install_dir` is not normalized, leading to a
false positive checkhealth failure when comparing against the normalized
`runtimepath` directories.

Solution: Use trailing slash in default `install_dir`.
2026-03-03 19:25:06 +01:00
nvim-treesitter-bot[bot]
6bc51d020a bot(parsers): update blade, kotlin, liquidsoap, lua, markdown, markdown_inline, mlir, proto, unison, vim 2026-02-28 07:10:54 +00:00
Tomas Sandven
b9171ede5d
feat(robot): update parser, mark as stable 2026-02-26 20:17:27 +01:00
nvim-treesitter-bot[bot]
957f86ae3f bot(parsers): update zsh 2026-02-26 11:17:02 +01:00
nvim-treesitter-bot[bot]
8ada222612 bot(parsers): update cpp, cue, fish, groovy, julia, liquid, lua, markdown, markdown_inline, mlir, pkl, powershell, query, slint, sql, swift, systemverilog, vhdl, vim 2026-02-26 10:06:44 +00:00
Christian Clason
eaa5caed2a feat(make): update parser and queries 2026-02-26 10:45:02 +01:00
Omar Valdez
67d0fd3e0a feat(xresources,desktop): mark as tier 1 2026-02-25 15:40:58 +01:00
Omar Valdez
d660b7c002 feat(editorconfig)!: update parser and queries
Removed nodes:
section_name, expansion_string, wildcard_characters,
wildcard_any_characters, wildcard_single_character, unset, boolean,
spelling_language, indent_style, end_of_line, charset, unknown

Renamed nodes:
identifier -> property
negation -> "!"
path_separator -> "/"
escaped_character -> character_escape
2026-02-23 17:49:34 +01:00
nvim-treesitter-bot[bot]
dc42c209f3 bot(parsers): update c_sharp, desktop, editorconfig, fish, kitty, kotlin, mlir, proto, rescript, sql, swift, xresources 2026-02-21 07:10:10 +00:00
Christian Clason
fcd51bbe92 fix(supercollider): mark as tier 3 2026-02-20 11:08:31 +01:00
Robert Muir
3edb01f912
fix(install): unlink files before copy on unix to prevent crashes (#8517)
uv_fs_copyfile will truncate the target first, which can result in
hard-to-debug crashes if the shared object is currently in use.

instead, unlink the target first, so that the operation doesn't modify
any in-use files. the disk space from the old parsers won't be reclaimed
until any processes using them relinquish their open file handles.
2026-02-19 15:39:22 +01:00
Christian Clason
ecdae44bae feat(kotlin)!: update parser and queries
Breaking change: removed nodes `"!in"` and `"!is"`.
2026-02-18 19:53:54 +01:00
Stefan VanBuren
0211563445
feat(protobuf)!: switch parser repo (#8514)
This switches the protobuf parser to https://github.com/coder3101/tree-sitter-proto,
which is a maintained parser and used in Zed.

The old https://github.com/treywood/tree-sitter-proto is effectively
unmaintained AFAICT, so it would be nice to have a maintained repo here.
2026-02-18 16:26:40 +00:00
nvim-treesitter-bot[bot]
2bd9b9b4f1 bot(parsers): update angular, bpftrace, c_sharp, fortran, markdown, markdown_inline, mlir, nickel, tlaplus 2026-02-17 17:02:40 +00:00
Dennis van den Berg
ca35dc5184 feat(angular): adds support for css class bindings 2026-02-17 14:56:12 +01:00
Christian Clason
4d9466677a fix(install): raise number of retries
Seven retries ought to be enough for anybody.
2026-02-14 13:18:48 +01:00
fin-w
b032f66f0b
fix(health): consistent abbreviations in legend 2026-02-14 12:33:04 +01:00
nvim-treesitter-bot[bot]
88a8487378 bot(parsers): update dart, fortran, gleam, janet_simple, just, mlir, rescript, slint, solidity, sql, t32, unison 2026-02-14 11:19:53 +00:00
Christian Clason
9f2dad22ef feat(vento)!: update parser and queries
Breaking change: `(keyword)` node removed.

Also mark as unmaintained (Copilot-maintained)
2026-02-11 12:14:00 +01:00
nvim-treesitter-bot[bot]
45a07f869b bot(parsers): update javadoc, just, kotlin, markdown, markdown_inline, matlab, mlir, php, php_only, pkl, slint, unison 2026-02-07 07:11:42 +00:00
Christian Clason
92c9b016d1 fix(install): retry on server error 2026-02-06 12:16:51 +01:00
nvim-treesitter-bot[bot]
4967fa48b0 bot(parsers): update beancount, c3, dart, desktop, editorconfig, gap, jinja, jinja_inline, matlab, mlir, nu, pkl, swift, unison, xresources, yaml 2026-01-31 10:18:44 +00:00
Christian Clason
19c729dae6 fix(install)!: remove gitlab codepath
Gitlab tarballs have started including the commit hash, so downstream
processing fails anyway.
2026-01-29 16:22:32 +01:00
Christian Buttner
04ab807f8e
feat(c3)!: update parser and highlights (#8477)
Breaking: `(import_declaration (path_ident))` changed to `(import_path (path_ident))`
2026-01-29 10:02:30 +00:00
Christian Clason
5465196ba8 fix(health): update required tree-sitter version 2026-01-29 10:29:15 +01:00
Christian Clason
f8bbc3177d feat(roc): mark as unmaintained 2026-01-27 12:02:53 +01:00
Christian Clason
0ac55b85c6 refactor(lua): replace vim.opt with vim.o 2026-01-27 11:57:04 +01:00
nvim-treesitter-bot[bot]
568ede7e79 bot(parsers): update ruby, vue 2026-01-25 11:08:41 +00:00
nvim-treesitter-bot[bot]
275b9fe801 bot(parsers): update zsh 2026-01-24 10:58:14 +01:00
nvim-treesitter-bot[bot]
b67d29ce74 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 2026-01-24 07:03:36 +00:00
Stanislaw Gruszka
88f1dfc211 feat(bpftrace): update parser and small highlights improvements
Update parser. Use new builtins from grammar (don't use lua-match).
2026-01-23 10:52:33 +01:00
Christian Clason
d19def46c1 fix(make): switch to maintained fork 2026-01-17 16:15:39 +01:00
nvim-treesitter-bot[bot]
7c14161403 bot(parsers): update bpftrace, desktop, editorconfig, glimmer, javadoc, liquidsoap, markdown, markdown_inline, matlab, meson, mlir, nim, pkl, rego, rescript, swift, vhdl, xresources 2026-01-17 06:56:25 +00:00