0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h"

Problem:    Text not scrolled when cursor moved with "g0" and "h".
Solution:   Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
This commit is contained in:
Luuk van Baal
2023-05-12 15:47:25 +01:00
committed by Bram Moolenaar
parent 378447fc18
commit 8667a5678f
4 changed files with 16 additions and 0 deletions

View File

@@ -2734,6 +2734,7 @@ oneleft(void)
}
curwin->w_set_curswant = TRUE;
adjust_skipcol();
return OK;
}