mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:10:05 +08:00
Fix screen blink
This commit is contained in:
parent
4e34b8f9f7
commit
2bdf2e54da
@ -54,9 +54,11 @@ function! SpaceVim#layers#checkers#config() abort
|
||||
" when switch to Insert mode, stop timer and clear the signature
|
||||
if exists('##CmdLineEnter')
|
||||
autocmd InsertEnter,WinLeave,CmdLineEnter *
|
||||
\ call <SID>neomake_signatures_clear()
|
||||
autocmd CmdLineEnter *
|
||||
\ call <SID>neomake_signatures_clear() | redraw
|
||||
else
|
||||
autocmd InsertEnter,WinLeave * call <SID>neomake_signatures_clear() | redraw
|
||||
autocmd InsertEnter,WinLeave * call <SID>neomake_signatures_clear()
|
||||
endif
|
||||
elseif g:spacevim_enable_ale
|
||||
autocmd User ALELint
|
||||
|
Loading…
Reference in New Issue
Block a user