patch 9.1.1108: 'smoothscroll' gets stuck with 'listchars' "eol"
Problem: 'smoothscroll' gets stuck with 'listchars' "eol".
Solution: Count size of 'listchars' "eol" in line size when scrolling.
(zeertzjq)
related: neovim/neovim#32405
closes: #16627
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
c0b7ca406b
commit
2c47ab8fcd
@ -168,7 +168,7 @@ coladvance2(
|
||||
&& wcol >= (colnr_T)width
|
||||
&& width > 0)
|
||||
{
|
||||
csize = linetabsize(curwin, pos->lnum);
|
||||
csize = linetabsize_eol(curwin, pos->lnum);
|
||||
if (csize > 0)
|
||||
csize--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user