mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
vim-patch:7.4.440 #1244
Problem: Omni complete popup drawn incorrectly. Solution: Call validate_cursor() instead of check_cursor(). (Hirohito Higashi) https://code.google.com/p/vim/source/detail?r=v7-4-440
This commit is contained in:

committed by
Justin M. Keyes

parent
af40647b66
commit
0a2d9fa8c8
@@ -3302,7 +3302,7 @@ expand_by_function (
|
||||
goto theend;
|
||||
}
|
||||
curwin->w_cursor = pos; /* restore the cursor position */
|
||||
check_cursor();
|
||||
validate_cursor();
|
||||
if (!equalpos(curwin->w_cursor, pos)) {
|
||||
EMSG(_(e_compldel));
|
||||
goto theend;
|
||||
@@ -4369,7 +4369,7 @@ static int ins_complete(int c)
|
||||
return FAIL;
|
||||
}
|
||||
curwin->w_cursor = pos; /* restore the cursor position */
|
||||
check_cursor();
|
||||
validate_cursor();
|
||||
if (!equalpos(curwin->w_cursor, pos)) {
|
||||
EMSG(_(e_compldel));
|
||||
return FAIL;
|
||||
|
@@ -192,7 +192,7 @@ static int included_patches[] = {
|
||||
//443,
|
||||
//442,
|
||||
//441,
|
||||
//440,
|
||||
440,
|
||||
439,
|
||||
//438,
|
||||
//437,
|
||||
|
Reference in New Issue
Block a user