diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-13 10:47:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 10:47:12 +0800 |
commit | 2a58aa57098a4876afa8d865d6d9ec32407d7f11 (patch) | |
tree | e8c1a4a50df202b64adf0edfbfe0a4255ea0c808 /src | |
parent | 6fa9f457234449f5c62fefeb6a7f87b5f36e819c (diff) | |
download | rneovim-2a58aa57098a4876afa8d865d6d9ec32407d7f11.tar.gz rneovim-2a58aa57098a4876afa8d865d6d9ec32407d7f11.tar.bz2 rneovim-2a58aa57098a4876afa8d865d6d9ec32407d7f11.zip |
vim-patch:9.0.2102: matchparen highlight not cleared in completion mode (#26019)
Problem: matchparen highlight not cleared in completion mode
Solution: Clear matchparen highlighting in completion mode
Remove hard-coded hack in insexpand.c to clear the :3match before
displaying the completion menu.
Add a test for matchparen highlighting. While at it, move all test tests
related to the matchparen plugin into a separate test file.
closes: vim/vim#13493
closes: vim/vim#13524
https://github.com/vim/vim/commit/9588666360e94de3ff58d4bc79aa9148fbf5fc44
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/insexpand.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c index b62a48f056..42f3a78f27 100644 --- a/src/nvim/insexpand.c +++ b/src/nvim/insexpand.c @@ -1241,9 +1241,6 @@ void ins_compl_show_pum(void) return; } - // Dirty hard-coded hack: remove any matchparen highlighting. - do_cmdline_cmd("if exists('g:loaded_matchparen')|3match none|endif"); - // Update the screen before drawing the popup menu over it. update_screen(); |