diff --git a/bundle/vim-chat/autoload/chat/windows.vim b/bundle/vim-chat/autoload/chat/windows.vim index 35c58eeae..9dac9a7f2 100644 --- a/bundle/vim-chat/autoload/chat/windows.vim +++ b/bundle/vim-chat/autoload/chat/windows.vim @@ -62,6 +62,12 @@ function! chat#windows#open() abort else noautocmd exec bufwinnr(s:name) . 'wincmd w' endif + " scrollbar will not be closed if use noautocmd to open split. + try + call SpaceVim#plugins#scrollbar#clear() + catch + + endtry call s:windowsinit() call s:init_hi() setl modifiable