forked from aniani/vim
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:
committed by
Bram Moolenaar
parent
378447fc18
commit
8667a5678f
@@ -5762,6 +5762,7 @@ nv_g_home_m_cmd(cmdarg_T *cap)
|
||||
curwin->w_valid &= ~VALID_WCOL;
|
||||
}
|
||||
curwin->w_set_curswant = TRUE;
|
||||
adjust_skipcol();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user