From 0a2d9fa8c88b6e263b9baa9b639c23321272f9bf Mon Sep 17 00:00:00 2001 From: Naveen Kumar Molleti Date: Sat, 27 Sep 2014 00:46:30 +0530 Subject: 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 --- src/nvim/edit.c | 4 ++-- src/nvim/version.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 5131dc3b38..1d5e1a51cf 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -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; diff --git a/src/nvim/version.c b/src/nvim/version.c index 18046f9617..ca5506c567 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -192,7 +192,7 @@ static int included_patches[] = { //443, //442, //441, - //440, + 440, 439, //438, //437, -- cgit