hlchunk.nvim
hlchunk.nvim copied to clipboard
Indent lines get cleared on one window if scrolling the same buffer in another window
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!