Commit Graph

709 Commits

Author SHA1 Message Date
wrvsrx
8265d53aef Skip ts node Character, fix #342 (#361) 2024-09-06 14:12:54 -04:00
Jonáš Dujava
e16193b6e0 fix(query): use explicitly the legacy behavior (#358)
After
6913c5e1d9
it is necessary to opt-in explicitly to the old behavior.

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-09-06 14:12:29 -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
838652d478 Fix prev_eol logic, fix #343 2024-05-18 20:11:00 -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
3f4fe496fa Try rhysd/action-setup-vim 2023-12-13 21:41:57 -05:00
Andy K. Massimino
7c4e8a00a6 Consider cmp in pumvisible 2023-11-25 14:24:24 -05:00
Andy K. Massimino
269f9bea87 Update vim TS queries 2023-11-24 18:31:15 -05:00
Andy K. Massimino
966f6bf34f Fix vim workflow version 2023-11-24 18:31:06 -05:00
Andy K. Massimino
0a14691971 Obey noskips in surrounding, fix #322 2023-11-24 18:22:10 -05:00
aMOPel
9e2ced9825 feat(nim): added treesitter queries (#329) 2023-11-24 12:06:11 -05:00
Andy K. Massimino
d30b72d20f Prevent insertion of popup text into buffer, fix #325 2023-11-04 21:51:40 -04: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
Andy Massimino
ce2bf1aa32 Update neovim.yml 2023-09-01 09:54:23 -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
Andy K. Massimino
582cbc8c2d Document tree-sitter virtual text options re #316 2023-08-06 08:59:55 -04:00
Andy K. Massimino
2074184042 Disable statuscolumn in nvim float, re #313 2023-07-29 20:50:25 -04:00
Andy K. Massimino
4f426d15ae Disable foldcolumn and signcolumn in nvim float, fix #305 2023-07-28 13:12:58 -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
Vadim Kazakov
3625e099b0 Add glimmer support in TS (#294) 2023-06-01 20:19:02 -04:00
Frank Bearoff
c69dcd49b2 Additional bash TS queries (#293) 2023-06-01 20:17:48 -04:00
Ezequiel Rodriguez
02b906cf77 Enable tagnameonly functionality for jsx files (#291)
* Enable tagnameonly functionality for jsx files

* tsxCloseString -> jsxCloseString

---------

Co-authored-by: Ezequiel Rodriguez <ezerodriguez@tesla.com>
2023-05-29 16:55:04 -04:00
Andy K. Massimino
b8eca3b588 Add TS quote support for go,lua,perl,python
Re #287
2023-05-18 11:26:58 -04:00
Andy K. Massimino
6c8909b682 Add TS quote query for svelte,vue re #287 2023-05-06 21:45:54 -04:00
Andy K. Massimino
96133f57ea Add TS quote query for a few languages, re #287 2023-05-06 21:42:01 -04:00
Andy K. Massimino
2640f94db9 Disable lua TS quote for now 2023-05-06 20:55:23 -04:00
Andy K. Massimino
19c4787344 Add TS quote patterns re #234 2023-05-06 20:53:53 -04:00
Andy K. Massimino
a8d1b8e635 Add TS cpp template arg query 2023-04-29 12:46:58 -04:00
Andy K. Massimino
da8e430042 Add TS vim continue/break 2023-04-29 12:46:26 -04:00
Andy K. Massimino
7038ef7d13 Adjust C++ template pattern 2023-04-29 12:45:57 -04:00
Andy K. Massimino
1e276be930 Add TS go switch statement 2023-04-22 10:46:32 -04:00
Andy K. Massimino
96e6480231 Revert "Use nvim-treesitter's compat module for now"
This reverts commit 327eb6f56d.
2023-04-21 21:17:02 -04:00
Andy K. Massimino
1364b2ba55 Fix typo from a41e95ee5f 2023-04-19 22:50:21 -04:00
Andy K. Massimino
a41e95ee5f Skip collecting TS group results from comment lang
Re #283
2023-04-19 22:44:31 -04:00