Commit Graph

699 Commits

Author SHA1 Message Date
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
Andy K. Massimino
c815e58644 Support TS def rescue/ensure 2023-04-19 22:38:48 -04:00
Andy K. Massimino
5fa824acc8 Memoize TS get_matches function re #283 2023-04-17 19:21:55 -04:00
Andy K. Massimino
327eb6f56d Use nvim-treesitter's compat module for now 2023-04-17 18:30:43 -04:00
Andy K. Massimino
57499f5ca9 Support highlight on nvim float with relativenumber
re #253
2023-04-12 21:25:42 -04:00
Andy K. Massimino
f5d1e1b2b3 Fix crash on invalid nvim float buffer
re #282
2023-04-12 21:00:11 -04:00
Andy K. Massimino
03ebc3b7db Fix MatchupWhereAmI pattern for nvim hl groups
fixes #281
2023-04-10 19:53:13 -04:00
Tom van Dijk
156367e4cb fix: Move to non-deprecated vim.treesitter function calls (#278)
ref: neovim/neovim@cbbf8bd
2023-03-25 10:52:02 -04:00
Andy K. Massimino
f69d1ac5bd Support TS bash, dockerfile injection, resolve #276 2023-03-16 13:48:28 -04:00
Andy K. Massimino
fef9f334e6 Fix issue with TS range instead of node 2023-03-06 19:04:25 -05:00
Andy K. Massimino
3a48818a81 Fix a test case 2023-02-19 09:12:24 -05:00