aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(perl): correct use of supertypesChristian Clason2025-11-251-6/+28
|
* fix(haskell): correct use of supertypes in `(decl)` patternsChristian Clason2025-11-251-3/+31
| | | | | | | | | | | Problem: These patterns were impossible, since children need to be children of every subtype of a supertype to be captured in this way. As subtypes could appear as children themselves, the query code silently "skipped over" the supertype restriction in the pattern. This was fixed in tree-sitter v0.26.0, which now (correctly) flags these patterns as "impossible". Solution: Add the appropriate child nodes explicitly.
* feat(parsers): update angular, ini, json5, koto, matlab, mlir, nix, pkl, ↵Christian Clason2025-11-231-13/+13
| | | | query, sql, t32, vimdoc, zsh
* fix(fsharp): correct use of supertypes in `(_type)` patternsChristian Clason2025-11-191-4/+6
| | | | | | | | | | | Problem: These patterns were impossible, since children need to be children of every subtype of a supertype to be captured in this way. As subtypes could appear as children themselves, the query code silently "skipped over" the supertype restriction in the pattern. This was fixed in tree-sitter v0.26.0, which now (correctly) flags these patterns as "impossible". Solution: Add the appropriate child nodes explicitly.
* feat(parsers): update asm, c_sharp, csv, desktop, gdshader, gotmpl, haskell, ↵Christian Clason2025-11-171-17/+17
| | | | heex, helm, javadoc, matlab, mlir, pkl, psv, t32, tsv, xresources
* fix(ziggy): mark as unmaintainedChristian Clason2025-11-172-6/+4
|
* feat(wit)! update parser and queries to 1.2.0 (#8199)Mikhail Katychev2025-11-173-13/+52
|
* chore: remove format-queries scriptChristian Clason2025-11-142-468/+1
| | | | | | The source of truth for formatting (according to make formatquery and CI) is now ts_query_ls, so remove the no longer required script to prevent divergence and bitrotting.
* feat(ruby): update queries to support rbs-inline syntax (#8282)Tomohiro Hashidate2025-11-143-1/+38
|
* feat(zsh): bump parser, disallow injections for regex with expansionGeorge Harker2025-11-132-1/+2
|
* feat(sql): update parser, highlights (#8272)Derek Stride2025-11-132-1/+29
|
* feat(t32)!: update parser and queries (#8276)Christoph Sax2025-11-126-13/+17
| | | | | `trace32_hll_variable` has been removed from the grammar. The queries are now capturing `symbol` instead. `symbol` is highlighted as variable or constant.
* fix(gdshader): add missing keyword to group (#8274)Tayfun Bocek2025-11-101-0/+1
|
* feat(haskell): switch to maintained forkChristian Clason2025-11-102-3/+3
|
* ci: add check for downstream queriesChristian Clason2025-11-101-0/+58
| | | | | | | | | | | | Problem: Parser updates may break downstream queries. Solution: Add workflow that clones and validates queries in * https://github.com/nvim-treesitter/nvim-treesitter-textobjects#main * https://github.com/nvim-treesitter/nvim-treesitter-context on changes to the parsers.lua table. (Workflow should not be required to pass; the purpose is to give a heads-up that follow-up PRs are needed.)
* feat(parsers): update asm, devicetree, gdshader, hack, hyprlang, koto, ↵Christian Clason2025-11-081-14/+14
| | | | matlab, mlir, nix, ocamllex, pkl, sql, templ, zsh
* fix(python): nospell for interpolationJaehwang Jung2025-11-061-1/+1
|
* feat(parsers): add zsh support (#8240)George Harker2025-11-057-0/+762
| | | | | Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Riley Bruins <ribru17@hotmail.com> Co-authored-by: Tayfun Bocek <tayfunbocek@live.ca>
* fix(typescript): support type param for styled components (#8066)Alexey Svirshchevskiy2025-11-042-1/+28
|
* feat(ecma): variable definition from object destructure (#8233)Igor Lacerda2025-11-041-0/+4
|
* fix(xml): remove `CDATA` injectionIzzy Muerte2025-11-031-2/+1
| | | | 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.
* feat(parsers): update angular, desktop, earthfile, editorconfig, gdshader, ↵Christian Clason2025-11-021-11/+11
| | | | javadoc, matlab, mlir, pkl, powershell, xresources
* feat!(gdshader): replace gdshader parser and queries (#8244)Tayfun Bocek2025-10-304-91/+239
| | | Switch parser to https://github.com/airblast-dev/tree-sitter-gdshader
* feat(install): remove node requirementChristian Clason2025-10-306-351/+337
| | | | | | * supported parsers _must_ commit at least `grammar.json` * set `TREE_SITTER_JS_RUNTIME=native` when generating parser to use built-in quickjs instead of node (requires tree-sitter 0.26)
* feat(scfg): update parserChristian Clason2025-10-301-3/+1
|
* fix: prefer `#eq?` for checking equality with one string (#8246)Riley Bruins2025-10-309-15/+19
|
* feat(diff): update parser after moveChristian Clason2025-10-292-3/+3
|
* feat(julia)!: update parser and queries (#8235)Christoph Horn2025-10-272-18/+22
| | | | | | | sync locals queries with upstream --------- Co-authored-by: Christian Clason <c.clason@uni-graz.at>
* feat(apex): javadoc injections (#8232)imawaki2025-10-261-0/+9
| | | | | | 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.
* fix(python): regex injection not working for concatenated strings (#8197)Lev Velykoivanenko2025-10-267-3/+83
| | | Co-authored-by: Riley Bruins <ribru17@hotmail.com>
* feat(parsers): update c3, desktop, dot, gomod, idl, julia, kitty, matlab, ↵Christian Clason2025-10-251-13/+13
| | | | mlir, nu, php, php_only, tmux
* feat(nu): update syntax to Nu 0.108.0 (#8227)zc he2025-10-251-24/+19
| | | also deduplicate bracket rules
* feat(hyprlang): update parser and queries (#8224)Omar Valdez2025-10-242-1/+7
|
* fix: use proper `; inherits` syntax in queries (#8226)Riley Bruins2025-10-246-6/+11
| | | | | 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.
* Remove empty capture based on ts_query_ls outputIsla Waters2025-10-241-1/+0
|
* feat(perl): Add language injection based on heredoc delimiterIsla Waters2025-10-241-0/+4
|
* feat(julia)!: switch to maintained forkChristian Clason2025-10-232-4/+4
| | | | breaking change: ABI 15, drop support for emoji identifiers
* fix(nu): separate patterns for `collection_type`zc he2025-10-211-7/+12
|
* feat(parsers): update ada, cmake, desktop, dot, mlir, nu, qmljs, sparql, ↵Christian Clason2025-10-191-14/+14
| | | | sql, superhtml, systemverilog, t32, tmux, xresources
* feat(julia): update builtin functions and types (#8203)Christian Clason2025-10-171-14/+17
| | | Update to Julia 1.12 (sync with upstream)
* docs(readme): remove wiki linkChristian Clason2025-10-172-3/+1
|
* fix(vue): `@character.special` highlights for `:`, `.` (#8200)Riley Bruins2025-10-151-1/+1
|
* fix(t32): update repo urlChristoph Sax2025-10-152-2/+2
| | | | Switches the grammar repository from GitLab to GitHub.
* feat(vue): delimiter highlight touch-upsRiley Bruins2025-10-121-1/+9
|
* chore: ask for file extension in new language PR templateRiley Bruins2025-10-111-0/+2
| | | | This will really help me to search on github for diverse code samples.
* fix(kitty): align line continuation highlightsRiley Bruins2025-10-111-1/+1
| | | | | Changes them from `@comment` to `@punctuation.special`, which is how they are in other languages.
* feat(parsers): update angular, comment, dart, desktop, enforce, erlang, ↵Christian Clason2025-10-111-22/+22
| | | | gleam, gotmpl, hare, helm, javadoc, kitty, koto, mlir, racket, rust, scheme, superhtml, systemverilog, wit, xresources, yaml
* feat(tmux)!: update parser and highlightsSteven Xu2025-10-112-3/+2
| | | | | | Breaking changes: - Nodes `(variable_name)`, `(expr_variable_name)`, `(variable_name_short)`, are exposed as `(name)`.
* feat(tmux)!: update parser and highlightsSteven Xu2025-10-103-9/+23
| | | | | | | | | | 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.
* feat(inko): update parser for let pattern matchingYorick Peterse2025-10-072-2/+2
| | | | | | | | 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.