mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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)
b8c890035e
This commit is contained in:
parent
73234bfec6
commit
7179f43666
@ -1606,6 +1606,7 @@ win_found:
|
|||||||
}
|
}
|
||||||
if (qf_ptr->qf_col > 0) {
|
if (qf_ptr->qf_col > 0) {
|
||||||
curwin->w_cursor.col = qf_ptr->qf_col - 1;
|
curwin->w_cursor.col = qf_ptr->qf_col - 1;
|
||||||
|
curwin->w_cursor.coladd = 0;
|
||||||
if (qf_ptr->qf_viscol == TRUE) {
|
if (qf_ptr->qf_viscol == TRUE) {
|
||||||
/*
|
/*
|
||||||
* Check each character from the beginning of the error
|
* Check each character from the beginning of the error
|
||||||
|
@ -387,7 +387,7 @@ static int included_patches[] = {
|
|||||||
// 750 NA
|
// 750 NA
|
||||||
// 749,
|
// 749,
|
||||||
// 748,
|
// 748,
|
||||||
// 747,
|
747,
|
||||||
746,
|
746,
|
||||||
745,
|
745,
|
||||||
// 744 NA
|
// 744 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user