mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.2331
Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode does not work after entering an expression on the command line. Solution: Don't use "ccline" when not actually using a command line. (test by Hirohito Higashi)
This commit is contained in:
@@ -5304,7 +5304,7 @@ ins_complete(int c, int enable_pum)
|
||||
if (compl_pattern == NULL)
|
||||
return FAIL;
|
||||
set_cmd_context(&compl_xp, compl_pattern,
|
||||
(int)STRLEN(compl_pattern), curs_col);
|
||||
(int)STRLEN(compl_pattern), curs_col, FALSE);
|
||||
if (compl_xp.xp_context == EXPAND_UNSUCCESSFUL
|
||||
|| compl_xp.xp_context == EXPAND_NOTHING)
|
||||
/* No completion possible, use an empty pattern to get a
|
||||
|
Reference in New Issue
Block a user