rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.22k stars 57 forks source link

scrolloff strange update behavior #132

Open siddharth99 opened 6 years ago

siddharth99 commented 6 years ago

When I set a non-zero value of scrolloff parameter the nyaovim window produces a strange behavior on certain commands.

Screenshot on This Problem

Original Windows with scrolloff=5; and cursor at 5th last line of the first window-pane

wina

After pressing 'o'; the top tabbar moves down along with bar separating the 2 panes

winb

After pressing 'Enter' a few times; the bars keep moving downward and everything is scrambled

winc

If I change tabs to redraw; everything seems fine.

Steps to Reproduce (including precondition)

Without using any custom config file with neovim & nyaovim config; follow the above screenshots

Your Environment