Commit graph

6234 commits

Author SHA1 Message Date
George Harker
11757e67eb lint cleanup on queries 2025-11-05 14:35:05 -08:00
George Harker
2071318626 extend highlight groups
Pick up
(array_at)
(array_star)
(expansion_flags)
(expansion_modifiers)
(simple_variable_name)
(glob_pattern)
(expansion_style) - and therefore hash in ${#variable}
2025-11-05 14:32:26 -08:00
George Harker
835a59f518 fix merge issue 2025-10-31 14:23:01 -07:00
George Harker
2c22fc0488
Merge branch 'main' into add-zsh-support 2025-10-31 14:21:13 -07:00
George Harker
3e31ac9aec updated SUPPORTED_LANGUAGES.md 2025-10-31 14:20:14 -07:00
George Harker
1dbc3f34c8 Add zsh support
fix queries location

Remove schema suffix on zsh parser

zsh support

Add zsh support
2025-10-31 14:20:14 -07:00
Tayfun Bocek
31fa965035 feat!(gdshader): replace gdshader parser and queries (#8244)
Switch parser to https://github.com/airblast-dev/tree-sitter-gdshader
2025-10-31 14:19:26 -07:00
Christian Clason
a5b4fc4e9c feat(install): remove node requirement
* 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)
2025-10-31 14:19:25 -07:00
Christian Clason
ad7376c757 feat(scfg): update parser 2025-10-31 14:18:43 -07:00
Riley Bruins
01790d75de fix: prefer #eq? for checking equality with one string (#8246) 2025-10-31 14:18:43 -07:00
Christian Clason
7f0be559bf feat(diff): update parser after move 2025-10-31 14:18:43 -07: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
Christian Clason
fd2880e8bc feat(install): remove node requirement
* 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)
2025-10-30 08:36:00 +01:00
Christian Clason
a3b489680f feat(scfg): update parser 2025-10-30 08:36:00 +01:00
Riley Bruins
2c30e515eb
fix: prefer #eq? for checking equality with one string (#8246) 2025-10-30 10:51:42 +09:00
George Harker
203f02850f updated SUPPORTED_LANGUAGES.md 2025-10-29 13:21:05 -07:00
George Harker
511cc73ee6 use tier 1, named / tagged revision 2025-10-29 13:19:02 -07:00
Christian Clason
9ddd853e7e feat(diff): update parser after move 2025-10-29 19:32:05 +01:00
George Harker
0b15a07b81 fix compile issue 2025-10-28 19:19:34 -07:00
George Harker
90c9e5ddd9 update grammar hash 2025-10-28 18:34:08 -07:00
George Harker
f7ce1cb750 additional lint fix 2025-10-28 18:22:36 -07:00
George Harker
d8ed5fbfb2 lint fix 2025-10-28 18:21:05 -07:00
George Harker
8bff4e300e Add zsh support
fix queries location

Remove schema suffix on zsh parser

zsh support

Add zsh support
2025-10-28 18:14:53 -07: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
Christian Clason
98fe644cb3 feat(parsers): update c3, desktop, dot, gomod, idl, julia, kitty, matlab, mlir, nu, php, php_only, tmux 2025-10-25 11:48:13 +02: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
Christian Clason
8fecb46258 feat(julia)!: switch to maintained fork
breaking change: ABI 15, drop support for emoji identifiers
2025-10-23 10:41:53 +02:00
zc he
30c466ad57
fix(nu): separate patterns for collection_type 2025-10-21 09:10:18 +02:00
Christian Clason
71bf1665f8 feat(parsers): update ada, cmake, desktop, dot, mlir, nu, qmljs, sparql, sql, superhtml, systemverilog, t32, tmux, xresources 2025-10-19 11:34:46 +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
Christian Clason
cdb5d5ef23 docs(readme): remove wiki link 2025-10-17 14:24:49 +02:00
Riley Bruins
63fac0a576
fix(vue): @character.special highlights for :, . (#8200) 2025-10-15 23:17:41 -07:00
Christoph Sax
4968877bb2 fix(t32): update repo url
Switches the grammar repository from GitLab to GitHub.
2025-10-15 21:49:59 +02:00
Riley Bruins
0606c7a9dc feat(vue): delimiter highlight touch-ups 2025-10-12 11:22:15 +02:00
Riley Bruins
4b74045bbe chore: ask for file extension in new language PR template
This will really help me to search on github for diverse code samples.
2025-10-11 18:09:54 +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
Christian Clason
763f1e650b feat(parsers): update angular, comment, dart, desktop, enforce, erlang, gleam, gotmpl, hare, helm, javadoc, kitty, koto, mlir, racket, rust, scheme, superhtml, systemverilog, wit, xresources, yaml 2025-10-11 11:16:55 +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
Christian Clason
c579a8c0cf feat(parsers): update ada, c_sharp, css, dart, editorconfig, enforce, javadoc, koto, prisma, rust, sql, superhtml, t32 2025-10-04 11:07:11 +02:00
Christian Clason
b4888ed9e8 chore(gdscript): mark as unmaintained
Significant upstream breaking changes are not adapted to.
2025-10-04 10:58:16 +02:00