summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-11-12 16:55:01 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-12 16:55:01 +0100
commit9588666360e94de3ff58d4bc79aa9148fbf5fc44 (patch)
tree14e3385567aea2f4572ac79bda8ea670ab78b31b /src/insexpand.c
parent2dd613f57bf17eb8ff050bcb5510eb0279f5c9ab (diff)
patch 9.0.2102: matchparen highlight not cleared in completion modev9.0.2102
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: #13493 closes: #13524 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 7ede6bd91f..e870147012 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -1330,11 +1330,6 @@ ins_compl_show_pum(void)
if (!pum_wanted() || !pum_enough_matches())
return;
-#if defined(FEAT_EVAL)
- // Dirty hard-coded hack: remove any matchparen highlighting.
- do_cmdline_cmd((char_u *)"if exists('g:loaded_matchparen')|:3match none|endif");
-#endif
-
// Update the screen later, before drawing the popup menu over it.
pum_call_update_screen();