Closed delphinus closed 4 years ago
:e ~/.config/nvim/init.vim
:enew
:enew makes a new buffer and clear all buffer variables. So b:scrollbar_state already disappeared and this plugin cannot access the window ID of the existent scrollbar.
b:scrollbar_state
What can I do for this? (can remove lone scrollbars after :enew?)
call clear when BufLeave
clear
BufLeave
Cool!
:e ~/.config/nvim/init.vim
:enew
:enew
makes a new buffer and clear all buffer variables. Sob:scrollbar_state
already disappeared and this plugin cannot access the window ID of the existent scrollbar.What can I do for this? (can remove lone scrollbars after
:enew
?)