mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 01:09:56 +08:00
fix(scrollbar): close scrollbar after opening vimchat
This commit is contained in:
parent
4112e478aa
commit
d67259a0f2
@ -62,6 +62,12 @@ function! chat#windows#open() abort
|
|||||||
else
|
else
|
||||||
noautocmd exec bufwinnr(s:name) . 'wincmd w'
|
noautocmd exec bufwinnr(s:name) . 'wincmd w'
|
||||||
endif
|
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:windowsinit()
|
||||||
call s:init_hi()
|
call s:init_hi()
|
||||||
setl modifiable
|
setl modifiable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user