Kevin Witlox
e9336fa1a9
fix(rust): correct type_parameters closing bracket capture ( #427 )
...
Fix typo in Rust tree-sitter query where `>` in type_parameters was captured as `@open.typeparams` instead of `@close.typeparams`
2025-12-31 17:42:00 -05:00
Luis Calle
2afb7fc911
perf: improve general treesitter performance and markdown particular performance ( #423 )
...
* perf(treesitter): query only the necessary trees instead of all of them
* perf(markdown): remove expensive latex query
2025-12-31 17:39:33 -05:00
Noah Bogart
1c276e12b4
Add ocaml treesitter queries ( #421 )
2025-11-06 07:40:10 -05:00
Luis Calle
828d1ad4ff
feat: improve tsx support ( #420 )
...
jsx tags may not always have an `identifier` as their name (e.g. they
could have `foo.bar` as a name, which gets parsed as
a `member_expression`)
2025-11-06 07:39:42 -05:00
Luis Calle
1660d6ad10
feat: add powershell support ( #419 )
2025-11-06 07:39:16 -05:00
Chris Vincent
89604825d4
Match on Ruby case/in statements for pattern matching ( #417 )
2025-11-06 07:38:58 -05:00
XiaoTian
ca538c3bb0
add support markdown matchup ( #415 )
2025-10-03 09:45:17 -04:00
phanium
add1680d8b
fix(go): update broken queries ( #411 )
2025-09-06 08:53:53 -04:00
Julio García
9cb4961161
feat: support htmlangular filetype ( #407 )
2025-08-14 19:57:52 -04:00
Zhongqiu Zhao
b4efd6a973
feat: add Erlang/Elixir queries ( #405 )
...
* feat: add Erlang/Elixir queries
* feat(erlang): update queries based on new parser AST
Erlang parser version:
$ cat site/parser-info/erlang.revision
07dad1469ecb7df80f2b6d5178f79564d19d67e0
2025-08-06 08:34:14 -04:00
Luis Calle
81313f1744
fix(haskell): use the correct captures for lambda case ( #397 )
2025-07-08 17:43:27 -04:00
TheLeoP
ac432f1352
feat: add block and call queries for go, c and bash
2025-07-07 14:57:38 -05:00
TheLeoP
e4aae30b3f
fix(haskell): properly escape backslash in lambda case query
2025-07-07 14:57:38 -05:00
TheLeoP
b92d25749b
fix(typescript): correctly define captures with anonymous nodes
2025-07-07 14:57:38 -05:00
TheLeoP
490f64c951
feat(ecma): add block query
2025-07-07 14:57:38 -05:00
TheLeoP
cd1f1c7894
feat(lua): add treesitter capture for function calls
2025-07-07 14:57:38 -05:00
TheLeoP
1b16bca34a
feat: add lua table constructor capture
2025-07-07 14:57:38 -05:00
TheLeoP
bca8246d2a
chore: format query files
2025-07-07 14:57:38 -05:00
TheLeoP
db9fe5d95d
refactor: mostly remove nvim-treesitter dependency
2025-07-07 14:57:38 -05:00
Marc Jakobi
c10f6d7f45
fix(queries/haskell): constructor/record -> record ( #384 )
2025-03-30 09:07:55 -04:00
Andy Massimino
aca23ce53e
Update julia queries, fix #351
2024-12-17 19:53:04 -05:00
Andy Massimino
3ed08b05cc
Update ecma query, fix #374
2024-12-15 14:38:08 -05:00
Jaehwang Jung
2328f4a308
fix(tex): use texMathZoneTI for vimtex v2.11 ( #372 )
...
texMathZoneX was renamed to texMathZoneTI in
vimtex 0cf45fd3f8128f427588098389634233738682f4
2024-10-22 19:25:09 -04:00
Patrick Haun
57d3a4bbf4
feat: add zig queries ( #371 )
2024-10-17 22:22:10 -04:00
Veesh Goldman
1975afe631
feat(perl): add matchup for loops + quotes ( #366 )
...
* feat(perl): add matchup for loops + quotes
* feat(perl): add try/catch matchup
2024-09-12 08:53:40 -04:00
Turiiya
80efa330c4
fix(svelte): adapt queries to new parser ( #365 )
2024-09-12 08:51:18 -04:00
Michael L.
f89858a5ab
feat: add support for templ ( #359 )
...
* add support for templ
* remove else if
* add templ to html like languages
2024-09-06 14:13:42 -04:00
Marc Jakobi
1535a769d5
Update haskell queries for tree-sitter-haskell v0.21.0 rewrite ( #349 )
2024-05-28 22:44:47 -04:00
Benedikt
ff3bea6116
add fish queries ( #345 )
2024-05-18 20:17:53 -04:00
Andy K. Massimino
b1d847a2f9
Remove TS haskell where, fix #347
2024-05-18 20:10:20 -04:00
Amaan Qureshi
2d660e4aa7
feat(svelte)!: adapt queries to new parser ( #339 )
2024-02-24 08:14:45 -05:00
Amaan Qureshi
7f81ae1254
fix(ecma): function -> function_expression ( #338 )
2024-02-01 19:56:17 -05:00
Patrick Haun
e2cca1747a
fix: go methods query missing ( #336 )
2024-01-06 11:00:35 -05:00
Andy K. Massimino
2550178c43
Rewrite TS perl query, fix #334
2023-12-19 08:38:33 -05:00
Andy K. Massimino
269f9bea87
Update vim TS queries
2023-11-24 18:31:15 -05:00
aMOPel
9e2ced9825
feat(nim): added treesitter queries ( #329 )
2023-11-24 12:06:11 -05:00
hinell
44640e046a
Add TS query for heredoc redirection in Bash ( #326 )
2023-11-04 13:08:25 -04:00
Mikey
6dbe108230
Add Rust closure || pairs ( #320 )
...
Also remove closure return. As far as I can tell, is currently broken,
and when fixed, breaks || pair match.
2023-09-02 09:50:30 -04:00
黄京
f45877c7dd
feat: add LaTeX3 matchup support. ( #317 )
...
* Add LaTeX3 matching support.
Add support to a bunch of LaTeX3 macros. See file `tex_matchup.vim` for detail.
* Match `:` only once.
Changed `*` to `\?`.
2023-09-02 09:46:49 -04:00
Mikey
0d57c5c709
Fix ECMA method function return ( #321 )
2023-09-01 09:45:53 -04:00
Mikey
02c6836d22
Add Rust type <> pairs ( #319 )
2023-09-01 09:44:35 -04:00
Marc Jakobi
0646093e07
Some haskell tree-sitter query improvements ( #312 )
...
- Delete fun and sig queries, as these can be a bit annoying.
- More stable `mid.<x>.<n>` captures.
The previous ones don't always match, as they can be arbitrarily
nested.
2023-07-27 13:46:46 -04:00
Amaan Qureshi
406812fe60
fix(c): update queries from upstream ( #309 )
2023-07-27 13:46:18 -04:00
Marc Jakobi
ca8971739e
Added Haskell support ( #311 )
2023-07-20 10:28:12 -04:00
Amaan Qureshi
17cc05867c
fix(jsx): update queries from upstream ( #306 )
2023-07-12 12:15:03 -04:00
Amaan Qureshi
3c4ccc4890
feat(c): add function and loop queries ( #300 )
2023-07-10 21:31:58 -04:00
Amaan Qureshi
f1093d83b0
feat: add Smali query ( #301 )
2023-07-10 19:20:44 -04:00
Amaan Qureshi
61cef7921e
fix(treesitter): update python string query ( #299 )
2023-06-30 14:49:53 -04:00
Vadim Kazakov
a5ca7ef398
Enhance and fix inheritance for javascript and typescript support ( #296 )
...
* update javascript and typescript
* create an ecma directory and use existing javascript matchup.scm there
* inherit from ecma and jsx in the javascript query
* inherit from ecma in the typescript query
* inherit from typescript and jsx in the tsx query
* this structure makes it more inline with how existing queries in nvim-treesitter work
* allows jsx to be used in js files
* add additional matchup for typescript
* allow type argument and parameters to be matched up such that `function foo(): Promise<any>` matches up the `<` and `>` characters
2023-06-29 20:22:54 -04:00
Mikhail Katychev
3a17944bfa
Added nix support ( #295 )
...
* added nix syntax
* added nix matchup
2023-06-17 08:35:55 -04:00