summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-05 21:51:14 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-05 21:51:14 +0200
commit33a80eeb859a78ba93432da6fa585786cfd77249 (patch)
tree9b6f87d27beae24a9d3d15d20b310fd13a81f989 /src/edit.c
parent030cddc7ec0c3d2fe3969140cd1b92b2f18633c0 (diff)
downloadvim-git-33a80eeb859a78ba93432da6fa585786cfd77249.tar.gz
patch 7.4.2331v7.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)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 6d985827a..a87c155c7 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -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