Commit Graph

386 Commits

Author SHA1 Message Date
Mohammad Reza Karimi
9ae7f86c31 fix: pumvisible (#413)
* fix(popup): remove popup on nightly nvim >= 0.12

Fixes #391

* Update matchparen.vim

* fix: s:pumvisible fails when no cmp is installed

In the situation where `nvim-cmp` is not installed but `blink-compat`
is, the `pcall(require, "cmp")` goes through, but
`require("cmp").visible()` doesn't. Checking for `cmp.visible` type
fixes this issue.

* add extra width because of the line number

---------

Co-authored-by: Andy Massimino <andymass@users.noreply.github.com>
2025-10-03 09:44:29 -04:00
Andy Massimino
b23ba393ee Suppress E242 in neovim, fix #408 2025-09-06 13:01:06 +00: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
9e152f39d1 feat!(treesitter): parse range around cursor based on g:matchup_treesitter_stopline 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
b2d61bfcb7 fix: initialize g:matchup_treesitter_disable_virtual_text 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
db9fe5d95d refactor: mostly remove nvim-treesitter dependency 2025-07-07 14:57:38 -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
Amadeus Demarzi
b4bf17473a Disable winbar on neovim 0.8.0 and later (#387) 2025-05-16 18:45:41 -04:00
replcat
b8164c618e Accept offscreen popup borders as lists (#377) 2025-03-30 09:07:29 -04: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
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
Andy K. Massimino
838652d478 Fix prev_eol logic, fix #343 2024-05-18 20:11:00 -04:00
Andy K. Massimino
7c4e8a00a6 Consider cmp in pumvisible 2023-11-25 14:24:24 -05:00
Andy K. Massimino
0a14691971 Obey noskips in surrounding, fix #322 2023-11-24 18:22:10 -05:00
Andy K. Massimino
d30b72d20f Prevent insertion of popup text into buffer, fix #325 2023-11-04 21:51:40 -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
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
Andy K. Massimino
54ac6e1f22 Fix html text_obj edges, fixes #218 2023-02-19 08:58:39 -05:00
Andy K. Massimino
959e0e79ea Apply minor modernizations (abort, reltimefloat) 2023-01-18 13:02:05 -05:00
Andy K. Massimino
55e3330436 Fix a linewise op for html 2022-11-13 09:22:29 -05:00
Andy K. Massimino
9e6b5471b0 Add xml pattern helper 2022-11-13 09:21:10 -05:00
Andy K. Massimino
f8f65dbaf9 Add support for relativenumber on nvim float win
Related to #253
2022-11-06 11:19:49 -05:00
Andy K. Massimino
addbbc1ecc Adjust html words further 2022-11-06 09:44:23 -05:00
Andy K. Massimino
572edcb24f Be more careful about insert mode cursor position
Closes #186
2022-11-06 09:44:16 -05:00
Andy K. Massimino
09576fd767 Update html patterns 2022-10-26 22:11:11 -04:00
Andy K. Massimino
87b8e9018f Fix TS syntax option load order 2022-08-17 22:55:07 -04:00
Andy K. Massimino
3d4ba4c3ae Adjust check for TS hl module, syntax, fix #198,#239 2022-08-17 22:37:24 -04:00
Andy K. Massimino
33fc8b819f Allow offscreen position at cursor, fixes #223 2022-07-12 18:26:17 -04:00
Andy K. Massimino
976ebfe61b Fix some issues with offscreen popup props, fixes #228 2022-05-28 21:01:08 -04:00
Enrico Maria De Angelis
a2f1c05ddb Fix offscreen popup when there is a WinBar (#229) 2022-05-28 20:48:52 -04:00
Andy K. Massimino
45f9643b6b Split transmute handlers for TS error re #225 2022-05-25 21:45:10 -04:00
Andy K. Massimino
96abbdcb2e Improve performance of TS matching with xml re #221 2022-05-03 22:11:41 -04:00
Andy K. Massimino
2317174b58 Adjust html text_obj edges with TS re #218 2022-05-03 21:02:08 -04:00
Andy K. Massimino
fb588f4862 Use stricter pattern for html text_obj quirk 2022-01-25 08:51:28 -05:00
Andy K. Massimino
97ffd1a206 Inside prev Z% motion again 2022-01-08 13:37:56 -05:00
Andy K. Massimino
ecca332fca Fix d]% when close is at column 1, fix #203 2022-01-08 11:08:41 -05:00