mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
vim-patch:9.0.1545: text not scrolled when cursor moved with "g0" and "h" (#23599)
Problem: Text not scrolled when cursor moved with "g0" and "h".
Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes vim/vim#12387)
8667a5678f
This commit is contained in:
@@ -2527,6 +2527,7 @@ int oneleft(void)
|
||||
}
|
||||
|
||||
curwin->w_set_curswant = true;
|
||||
adjust_skipcol();
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user