mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-11 17:15:46 +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
|
function! SpaceVim#layers#gtags#health() abort
|
||||||
call SpaceVim#layers#gtags#plugins()
|
call SpaceVim#layers#gtags#plugins()
|
||||||
call SpaceVim#layers#gtags#config()
|
call SpaceVim#layers#gtags#config()
|
||||||
|
if !SpaceVim#layers#isLoaded('gtags')
|
||||||
|
augroup spacevim_layer_gtags
|
||||||
|
autocmd!
|
||||||
|
augroup END
|
||||||
|
endif
|
||||||
return 1
|
return 1
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user