comparison src/edit.c @ 9465:203792348947 v7.4.2013

commit https://github.com/vim/vim/commit/67081e50616ae9546621072c5eaaa59bd0a4bed7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 9 21:49:03 2016 +0200 patch 7.4.2013 Problem: Using "noinsert" in 'completeopt' breaks redo. Solution: Set compl_curr_match. (Shougo, closes https://github.com/vim/vim/issues/874)
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jul 2016 22:00:06 +0200
parents 35b173e37dc6
children 5fb484647e12
comparison
equal deleted inserted replaced
9464:be72f4201a1d 9465:203792348947
4678 EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_KIND])); 4678 EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_KIND]));
4679 dict_add_nr_str(dict, "info", 0L, 4679 dict_add_nr_str(dict, "info", 0L,
4680 EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_INFO])); 4680 EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_INFO]));
4681 } 4681 }
4682 set_vim_var_dict(VV_COMPLETED_ITEM, dict); 4682 set_vim_var_dict(VV_COMPLETED_ITEM, dict);
4683 compl_curr_match = compl_shown_match;
4683 } 4684 }
4684 4685
4685 /* 4686 /*
4686 * Fill in the next completion in the current direction. 4687 * Fill in the next completion in the current direction.
4687 * If "allow_get_expansion" is TRUE, then we may call ins_compl_get_exp() to 4688 * If "allow_get_expansion" is TRUE, then we may call ins_compl_get_exp() to