diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-09 21:49:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-09 21:49:03 +0200 |
commit | 67081e50616ae9546621072c5eaaa59bd0a4bed7 (patch) | |
tree | ea59d44c53e118e3c4faf8a79576755d0bbdcd2c /src/edit.c | |
parent | 063b9d15abea041a5bfff3ffc4e219e26fd1d4fa (diff) | |
download | vim-git-67081e50616ae9546621072c5eaaa59bd0a4bed7.tar.gz |
patch 7.4.2013v7.4.2013
Problem: Using "noinsert" in 'completeopt' breaks redo.
Solution: Set compl_curr_match. (Shougo, closes #874)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 234e03dff..47c24f9d2 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4680,6 +4680,7 @@ ins_compl_insert(void) EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_INFO])); } set_vim_var_dict(VV_COMPLETED_ITEM, dict); + compl_curr_match = compl_shown_match; } /* |