lewis6991 / satellite.nvim

Decorate scrollbar for Neovim
MIT License
557 stars 21 forks source link

feature request: partial cell scrollbar #8

Closed budswa closed 2 years ago

budswa commented 2 years ago

At the moment the scrollbar renders as whole cells, I believe this is done because it highlights the whole cell. If you used characters like ▁▂▃▄▆▇█ for the top and bottom of the scrollbar you could have a much more precise position and it will appear to scroll smoother on larger files. Using those same characters, you can invert the highlights and make them appear as they are incrementing from the top.

x

lewis6991 commented 2 years ago

This is something I've explicitly not implemented. The main focus of satellite.nvim is to provide signs like signcolumn but for the entire buffer.

One of the features required for this to work is that highlights in Neovim can be blended. So in order for signs to appear on top of the scrollbar (which is important), the scrollbar must be implemented with whitespace characters.