diff src/insexpand.c @ 23374:1371e21fdc3d v8.2.2230

patch 8.2.2230: Vim9: insert completion runs into error Commit: https://github.com/vim/vim/commit/179eb567b15a2ed5cf25b45d95d06c7a729d50bc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 27 18:03:22 2020 +0100 patch 8.2.2230: Vim9: insert completion runs into error Problem: Vim9: insert completion runs into error. Solution: Insert colon before range. (closes https://github.com/vim/vim/issues/7556)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Dec 2020 18:15:03 +0100
parents a84e7abb0c92
children 385d33dfb7df
line wrap: on
line diff
--- 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.