commit | 67081e50616ae9546621072c5eaaa59bd0a4bed7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 21:49:03 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 21:49:03 2016 +0200 |
tree | ea59d44c53e118e3c4faf8a79576755d0bbdcd2c | |
parent | 063b9d15abea041a5bfff3ffc4e219e26fd1d4fa [diff] [blame] |
patch 7.4.2013 Problem: Using "noinsert" in 'completeopt' breaks redo. Solution: Set compl_curr_match. (Shougo, closes #874)
diff --git a/src/edit.c b/src/edit.c index 234e03d..47c24f9 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -4680,6 +4680,7 @@ EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_INFO])); } set_vim_var_dict(VV_COMPLETED_ITEM, dict); + compl_curr_match = compl_shown_match; } /*