mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
vim-patch:9.1.1108: 'smoothscroll' gets stuck with 'listchars' "eol" (#32434)
Problem: 'smoothscroll' gets stuck with 'listchars' "eol".
Solution: Count size of 'listchars' "eol" in line size when scrolling.
(zeertzjq)
related: neovim/neovim#32405
closes: vim/vim#16627
2c47ab8fcd
This commit is contained in:
@@ -73,6 +73,7 @@ static inline int linetabsize_str(char *s)
|
||||
}
|
||||
|
||||
/// Like linetabsize_str(), but for a given window instead of the current one.
|
||||
/// Doesn't count the size of 'listchars' "eol".
|
||||
///
|
||||
/// @param wp
|
||||
/// @param line
|
||||
|
Reference in New Issue
Block a user