From 7179f43666768ac81c0e5a350f57f53c2cc39c3c Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Sat, 30 Jan 2016 12:29:49 +0100 Subject: vim-patch:7.4.747 Problem: ":cnext" may jump to the wrong column when setting 'virtualedit=all' (cs86661) Solution: Reset the coladd field. (Hirohito Higashi) https://github.com/vim/vim/commit/b8c890035efd694daab5cdd71b5265c52c23fa81 --- src/nvim/quickfix.c | 1 + src/nvim/version.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 85c69af192..78b4312dc6 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -1606,6 +1606,7 @@ win_found: } if (qf_ptr->qf_col > 0) { curwin->w_cursor.col = qf_ptr->qf_col - 1; + curwin->w_cursor.coladd = 0; if (qf_ptr->qf_viscol == TRUE) { /* * Check each character from the beginning of the error diff --git a/src/nvim/version.c b/src/nvim/version.c index bf26497679..ed586ad04c 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -387,7 +387,7 @@ static int included_patches[] = { // 750 NA // 749, // 748, - // 747, + 747, 746, 745, // 744 NA -- cgit