Commit Graph

765 Commits

Author SHA1 Message Date
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
Zhongqiu Zhao
a1f93006ba fix: disable the matchup if no matchup queries was found (#404) 2025-08-06 08:33:56 -04:00
Luis Calle
81313f1744 fix(haskell): use the correct captures for lambda case (#397) 2025-07-08 17:43:27 -04:00
Luis Calle
ea01ae7b54 fix: enable treesitter virtual text by default (#396)
* fix: enable treesitter virtual text by default

* fix: use an empty list instead of an empty object
2025-07-07 21:57:10 -04:00
Dmytro Soltys
6193440b8a feat: Invalidate matchup query cache on query save 2025-07-07 21:02:26 -04:00
Andy K. Massimino
0aa22bc724 Guard matchup_treesitter_ vars to nvim 2025-07-07 21:01:40 -04:00
Andy Massimino
4f03d43274 Merge pull request #390 from TheLeoP/update-treesitter
Remove nvim-treesitter dependency
2025-07-07 20:57:34 -04:00
TheLeoP
427e9eb27a ci: run tests on Neovim 0.11.2 2025-07-07 18:02:55 -05:00
TheLeoP
ef27fce14e ci: add TESTS_ENABLE_TREESITTER env var 2025-07-07 18:01:58 -05:00
TheLeoP
9e90cb42eb ci: install treesitter parsers without nvim-treesitter
Co-authored-by: Dmytro Soltys <soap@slotos.net>
2025-07-07 17:39:34 -05:00
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
Luis Calle
5456eaccf7 fix: silently fail nvim_buf_clear_namespace if called in sandbox/modeline (#395) 2025-07-04 08:32:53 -04: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