Indent lines get cleared on one window if scrolling the same buffer in another window
jbarap opened this issue · 3 comments
Describe the bug
When viewing a single buffer in two windows simultaneously, the active window behaves as expected, but when scrolling the buffer on the active window, the indent lines on the secondary window get gradually cleared.
To Reproduce
Steps to reproduce the behavior:
- Open any file, and go to a section with indent lines displayed (in the example neovim/src/nvim/eval/funcs.c)
- Open a vertically split window (ctrl-w v)
- Scroll the buffer down in one window
- Watch as the indents disappear in the other window
Expected behavior
As long as a buffer is visible in a window from the active tab, the indent guides should stay visible in each window's viewport.
Screenshots
Both windows with indents:
As the right window is scrolled, the indents in the left window get cleared:
Additional context
Config:
require("hlchunk").setup({
indent = {
chars = {
"▏",
},
},
blank = {
enable = false,
},
chunk = {
enable = false,
},
line_num = {
enable = false,
}
})
Great job with the plugin!
thanks for detail report~
because render range only include current window, other part of same buffer will clear while rendering, this will be solved in next version
Thank you, looking forward to the next version!
fixed in latest version