Commit Graph

6286 Commits

Author SHA1 Message Date
Sten Laane
4337799162 feat(bash): add indents query
It's pretty basic at the moment but already makes working with bash
scripts way easier.
2026-01-03 11:29:39 +01:00
neno
86cf4fb684 fix(ruby): improve highlights for pattern matching and for...in loops 2026-01-03 11:28:41 +01:00
nvim-treesitter-bot[bot]
46c16d89a8 bot(parsers): update c3, desktop, editorconfig, javadoc, kitty, lua, nginx, query, swift, templ, typespec, v, vim, xresources 2026-01-03 10:20:31 +00:00
Daniel Jakots
737088f857 docs(languages): remove unused node legend (#8396)
erroneously reintroduced in 69c76488f7.
2026-01-02 15:37:00 +00:00
Christian Clason
1927c76aec feat(install): warn on unsupported parsers 2026-01-02 10:04:03 +01:00
Christian Clason
efa5d1fa3a feat(robots)!: adapt to renamed parser 2026-01-02 10:02:25 +01:00
Christian Clason
c6dd314086 fix(lua): re-add missing assignment operator 2025-12-31 15:21:31 +01:00
Christian Clason
d6ce707613 feat(lua): replace operator list with field 2025-12-31 13:57:06 +01:00
Marc Jakobi
7efc1b58a8 fix(nix): refactor nixosTest injections for better performance (#8378) 2025-12-29 16:47:03 +01:00
nvim-treesitter-bot[bot]
36fcb4a423 bot(parsers): update desktop, editorconfig, erlang, gotmpl, helm, lua, mlir, pascal, sql, typoscript, v, xresources 2025-12-27 06:56:45 +00:00
Marc Jakobi
45d08da7bb chore(nix): add mrcjkb to maintainers 2025-12-26 22:13:05 +01:00
Marc Jakobi
7ba26e7685 perf(nix): replace match with lua-match 2025-12-26 22:13:05 +01:00
Christian Clason
6e42d823ce fix(strace): no longer need to generate 2025-12-21 15:27:47 +01:00
Christian Clason
8cdffc6d33 feat(vim): support :tab command 2025-12-20 12:40:15 +01:00
Christian Clason
f795520371 fix(strace): generate removed parser 2025-12-20 12:36:44 +01:00
nvim-treesitter-bot[bot]
e08ad49dbd bot(parsers): update editorconfig, meson, mlir, phpdoc, t32, vhdl 2025-12-20 06:55:48 +00:00
Christian Clason
4fc09bee78 ci(dependabot): fix labels 2025-12-17 13:12:25 +01:00
dependabot[bot]
cfdca13a5d ci: bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

Updates `peter-evans/create-pull-request` from 7 to 8
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-17 13:00:42 +01:00
Christian Clason
fc21d3db8c ci: add dependabot for GH actions 2025-12-17 12:55:05 +01:00
Christian Clason
846c7b50ee chore: remove FUNDING.yml 2025-12-17 12:55:05 +01:00
Christian Clason
d0bf5ff2b0 feat(parsers): update ada, c3, comment, desktop, editorconfig, elm, julia, mlir, nu, phpdoc, t32, tera, vim, vimdoc, xresources, zsh 2025-12-17 11:53:39 +01:00
Manfred Egger
568f2a3b7d feat(typoscript)!: update grammar and queries (#8341)
Breaking change: `(condition_bool)` renamed to `(condition_bool_legacy)`
2025-12-17 11:48:06 +01:00
Christian Clason
d3218d988f docs(readme)!: main is now the default branch 2025-12-14 13:16:25 +01:00
Christian Clason
74b119812e feat(gleam)!: update parser and queries
Breaking change: `(bit_string_*)` renamed to `(bit_array_*)`
2025-12-13 14:28:41 +01:00
Christian Clason
74d3999522 feat(parsers): update fortran, gotmpl, helm, idl, mlir, pkl, query, racket, scheme, slint, vhdl, zsh 2025-12-13 14:21:32 +01:00
Christian Clason
2979e048b3 ci(test): bump tree-sitter/setup-actions to v2 2025-12-11 10:57:07 +01:00
Marc Jakobi
b6271b678e feat(haskell): injection for morpheus-graphql-client quasiquotes 2025-12-09 11:02:20 +01:00
Riad
186810d6ad feat(gdscript): update builtin highlights
Added all builtin annotations, constants, methods
and types as of godot commit : 10c7cb8
2025-12-09 11:01:36 +01:00
adaitche
02693ce64c feat(sql): improve @type capture (#8315)
Problem: `@type` currently captures function calls but fails to
capture CTE names.

Solution: Don't capture types in invocations. Add pattern for `cte`.
2025-12-09 10:53:37 +01:00
Christian Clason
a98a740c55 feat(parsers): update brightscript, desktop, gotmpl, helm, ini, javadoc, mlir, nu, powershell, slint, vimdoc, xresources 2025-12-09 10:19:54 +01:00
Omar Valdez
f47f549f74 feat(bash): highlight arguments of trap and kill builtin commands 2025-12-08 14:47:59 +01:00
Omar Valdez
93537d6998 feat(bash): remove unnecessary captures
- Bash does not have boolean values and the builtin `true`
  and `false` commands are already covered by another capture.
- The grammar has a `number` node and it's already captured.
2025-12-08 13:08:03 +01:00
Cameron
bfc6c99540 fix(ruby): highlighting for string-literal symbols (#8317) 2025-12-08 11:27:09 +01:00
Yorick Peterse
20db421f5f feat(inko): update to v0.4.0 (#8327)
This changes the structure of "if" expressions so the queries for
nvim-treesitter-textobjects can be changed as to not cause any crashes.
2025-12-06 22:38:22 +01:00
Christian Clason
9d47b2558b feat(json): add support for jsonc files 2025-12-06 18:10:39 +01:00
Christian Clason
d2350758b3 feat(parsers)!: remove gitlab-hosted blueprint, fusion, jsonc
Problem: Gitlab has too frequent outages, which break automation.

Solution: Drop all Gitlab-hosted parsers (two of which have been
unmaintained for years).
2025-12-06 18:10:39 +01:00
Christian Clason
d72fa25b54 feat(fortran)!: update parser and queries
Breaking change: `(do_loop_statement)` renamed to `(do_loop)`
2025-12-06 14:13:26 +01:00
Christian Clason
41913a8d44 feat(bash): update parser
Breaking change: removed double parenthesis as valid opening to
arithmetic expansion. (Only `$((` is allowed according to the manual.)
2025-12-06 14:04:19 +01:00
Christian Clason
596923959a fix(inko): downgrade parser
Problem: The commit fc37d05c36 broke parsing a textobjects query.

Solution: Downgrade parser to previous commit and pin it (until we can move it to tier 1).
2025-12-06 13:29:48 +01:00
Christian Clason
6f2121231a feat(parsers): update angular, c3, desktop, elm, forth, inko, mlir, nix, pkl, powershell, templ, xresources 2025-12-06 13:09:06 +01:00
Christian Clason
e0eec76dad fix(lua): fix some emmyluals warnings 2025-12-06 11:16:30 +01:00
Dennis van den Berg
75797cdd8a feat(angular): add style_unit highlighting(#8312) 2025-12-04 10:42:01 +01:00
Alexei Mozaidze
857fb97bb6 fix(fennel): highlight $[1-9] in multi-symbol context properly
Highlights the dollar symbol properly in multi-symbol contexts, like `$3.some.properties`.
There was already a fix for a similar issue on #8067, but it only addressed `$.some.properties`, but not the variant with the argument number in it.
2025-12-03 17:49:36 +01:00
Gabriel Holodak
c5623d3486 docs: document setting foldmethod alongside foldexpr (#8187) 2025-12-02 17:15:52 -08:00
nsfisis
e527584cf8 feat(vhs): update options list (#8309) 2025-12-02 12:03:33 -08:00
George Harker
00c906abb9 fix(zsh): update posix shell variables 2025-12-01 08:46:21 +01:00
Christian Clason
17885756e6 feat(parsers): update angular, c3, desktop, editorconfig, elm, gdshader, gleam, haskell, idl, php, php_only, pkl, query, readline, vimdoc, xresources 2025-11-27 18:54:20 +01:00
Tayfun Bocek
d56ed0f7f9 feat(gdshader): update highlight queries (#8299)
* use uniform scope node instead of literal matching

This avoids the need to refactor if other scope types are added. Maybe
helps performance as well.

* add method expression highlight
2025-11-27 10:35:21 +01:00
Christian Clason
c5871d9d87 fix(perl): correct use of supertypes 2025-11-25 10:40:58 +01:00
Christian Clason
d6ebbd5039 fix(haskell): correct use of supertypes in (decl) patterns
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.
2025-11-25 10:28:33 +01:00