patch 9.1.1836: 'culopt' "screenline" not redrawn with line("w0") and :retab
Problem: 'cursorlineopt' "screenline" isn't redrawn when moving cursor
and then using line("w0") and :retab that does nothing.
Solution: Call redraw_for_cursorcolumn() when setting a valid w_virtcol
(zeertzjq).
closes: #18506
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
474b981e40
commit
a084914361
@ -7077,7 +7077,7 @@ set_fraction(win_T *wp)
|
||||
* calculate the new scroll position.
|
||||
* TODO: Ensure this also works with wrapped lines.
|
||||
* Requires a not fully visible cursor line to be allowed at the bottom of
|
||||
* a window("zb"), probably only when 'smoothscroll' is also set.
|
||||
* a window ("zb"), probably only when 'smoothscroll' is also set.
|
||||
*/
|
||||
static void
|
||||
win_fix_scroll(int resize)
|
||||
|
||||
Reference in New Issue
Block a user