Commit Graph

754 Commits

Author SHA1 Message Date
TheLeoP
182fa8bc12 tests: remove references to nvim-treesitter 2025-07-07 17:36:03 -05:00
TheLeoP
3de6be029d fix: install treesitter parsers into docker image
Co-authored-by: Dmytro Soltys <soap@slotos.net>
2025-07-07 17:22:44 -05:00
TheLeoP
321045f727 docs: update matchup.txt with the content of README 2025-07-07 17:19:52 -05:00
TheLeoP
bf56cac29d chore: make luacheck happy 2025-07-07 14:57:38 -05: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
1fd5e6db7a docs: update treesitter integration information on README 2025-07-07 14:57:38 -05:00
TheLeoP
5e292db288 docs: remove LunarVim specific instructions from README 2025-07-07 14:57:38 -05:00
TheLeoP
e832b01e94 docs: add lazy.nvim installation to README 2025-07-07 14:57:38 -05:00
TheLeoP
15135430df docs: add documentation for new g:matchup_treesiter config vars 2025-07-07 14:57:38 -05:00
TheLeoP
9e152f39d1 feat!(treesitter): parse range around cursor based on g:matchup_treesitter_stopline 2025-07-07 14:57:38 -05:00
TheLeoP
bb9ff61bf2 fix(treesitter): check if buffer is loaded before trying to get a parser for it 2025-07-07 14:57:38 -05:00
TheLeoP
b9366dfa53 fix: enable treesitter integration by default only on Neovim 2025-07-07 14:57:38 -05:00
TheLeoP
480af13179 fix: correctly process b:match_skip when treesitter is enabled 2025-07-07 14:57:38 -05:00
TheLeoP
da04528e45 feat!: enable treesitter integration by default 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
b2d61bfcb7 fix: initialize g:matchup_treesitter_disable_virtual_text 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
831c161509 feat: fully functional treesitter engine without nvim-treesitter dependency 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
TheLeoP
7f274a21b0 docs: boolean -> 0|1 on matchup.Config types 2025-07-07 14:57:38 -05:00
TheLeoP
490f6850a3 feat: add luaCATS typing for configuration and add treesitter config 2025-07-07 14:57:38 -05:00
Dmytro Soltys
113d6c97e8 chore: Add docker test runners for local development 2025-07-07 14:56:56 -05:00
Mohammad Reza Karimi
c478d4a72b fix(popup): clear popup window on nightly nvim >= 0.12 (#392)
* fix(popup): remove popup on nightly nvim >= 0.12

Fixes #391

* Update matchparen.vim

---------

Co-authored-by: Andy Massimino <andymass@users.noreply.github.com>
2025-06-04 11:23:16 -04:00
Michele Campeotto
56c714495e Split treesitter matches at newlines instead of whitespace (#386)
I believe this was the intention of the original change in (#217): there
is some mixing of terminology in the review discussion, but I believe
the intention was to extract the first line in the match, as suggested
in the linked discussion, and not the string up to the first whitespace.
2025-05-16 18:47:36 -04:00
Amadeus Demarzi
b4bf17473a Disable winbar on neovim 0.8.0 and later (#387) 2025-05-16 18:45:41 -04:00
Andy Massimino
ea2ff43e09 Update neovim_treesitter.yml 2025-03-30 09:41:35 -04:00
Andy Massimino
bd04c3d5df Update neovim.yml 2025-03-30 09:40:40 -04:00
Marc Jakobi
c10f6d7f45 fix(queries/haskell): constructor/record -> record (#384) 2025-03-30 09:07:55 -04:00
replcat
b8164c618e Accept offscreen popup borders as lists (#377) 2025-03-30 09:07:29 -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
Andy K. Massimino
5fb083de1e Guard <cmd> mappings 2024-10-28 09:13:35 -04:00
Andy K. Massimino
9b21868064 Fix matchup-Z% motion, fix #368 2024-10-28 09:01:12 -04:00
Andy K. Massimino
fea05cf36a Use cmd mappings in normal mode, fix #370 2024-10-28 09:00:40 -04: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
Lucas Biaggi
971ac5cbb3 Update neovim_treesitter.yml (#363)
Update neovim_treesitter to match neovim.yml
2024-09-12 08:51:02 -04:00
Andy Massimino
8522c9b3ba Update neovim.yml (#362) 2024-09-09 13:01:01 -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
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