mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
feat(scrollbar): update scrollbar on CursorHold
autocmd
This commit is contained in:
parent
0ff0c941dc
commit
b6218e0d4a
@ -171,7 +171,7 @@ function! SpaceVim#layers#ui#config() abort
|
|||||||
augroup spacevim_layer_ui
|
augroup spacevim_layer_ui
|
||||||
autocmd!
|
autocmd!
|
||||||
if s:enable_scrollbar && has('nvim')
|
if s:enable_scrollbar && has('nvim')
|
||||||
autocmd BufEnter,CursorMoved,VimResized,FocusGained
|
autocmd BufEnter,CursorMoved,VimResized,FocusGained,CursorHold
|
||||||
\ * call SpaceVim#plugins#scrollbar#show()
|
\ * call SpaceVim#plugins#scrollbar#show()
|
||||||
autocmd BufLeave,FocusLost,QuitPre
|
autocmd BufLeave,FocusLost,QuitPre
|
||||||
\ * call SpaceVim#plugins#scrollbar#clear()
|
\ * call SpaceVim#plugins#scrollbar#clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user