Multiple scrollbars appeared when `go to definition`.
RunningIkkyu opened this issue · 3 comments
RunningIkkyu commented
Steps to reproduce the bug
Using Neovim LanguageClient to go to definition of a function, both the old file's scrollbar and the new file's srallbar are staying on the right side.
Resulting and expected behaviour
Only one scrollbar exists.
Screen recording or screenshot
System information
- Operating system: ubuntu 20.04
- Neovim version: v0.5.0
RunningIkkyu commented
Solving that by add auto command to vim config:
autocmd WinLeave,BufLeave,BufWinLeave,FocusLost * silent! lua require('scrollbar').clear()
RunningIkkyu commented
Create a PR for this issue. Just update the autocmd in the doc. #22
Xuyuanp commented
Thanks for your great PR!