mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:10:05 +08:00
fix(gtags): clear autocmd when check health
This commit is contained in:
parent
b565b3d6fb
commit
3e9b813034
@ -96,6 +96,11 @@ endfunction
|
||||
function! SpaceVim#layers#gtags#health() abort
|
||||
call SpaceVim#layers#gtags#plugins()
|
||||
call SpaceVim#layers#gtags#config()
|
||||
if !SpaceVim#layers#isLoaded('gtags')
|
||||
augroup spacevim_layer_gtags
|
||||
autocmd!
|
||||
augroup END
|
||||
endif
|
||||
return 1
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user