summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-27 18:03:22 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-27 18:03:22 +0100
commit179eb567b15a2ed5cf25b45d95d06c7a729d50bc (patch)
tree56ba1d1bd23bbc70dbbaac4c184bb7ffbd4f2392 /src/insexpand.c
parent39cb2dab18e85fc60f116a4543e433616872b690 (diff)
patch 8.2.2230: Vim9: insert completion runs into errorv8.2.2230
Problem: Vim9: insert completion runs into error. Solution: Insert colon before range. (closes #7556)
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 73b2218e13..02f593d7c8 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -1020,7 +1020,7 @@ ins_compl_show_pum(void)
#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");
+ 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.