mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
vim-patch:8.0.0247 (#7232)
Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
to have a menu entry selected. (Lifepillar)
Solution: call ins_compl_free(). (Christian Brabandt, closes vim/vim#1411)
aed6d0b81a
This commit is contained in:

committed by
Justin M. Keyes

parent
7bfa4406c1
commit
11429f9429
@@ -2406,6 +2406,7 @@ void set_completion(colnr_T startcol, list_T *list)
|
||||
ins_compl_prep(' ');
|
||||
}
|
||||
ins_compl_clear();
|
||||
ins_compl_free();
|
||||
|
||||
compl_direction = FORWARD;
|
||||
if (startcol > curwin->w_cursor.col)
|
||||
|
Reference in New Issue
Block a user