augroup and ++once both minpac and LSP config
This commit is contained in:
parent
da72b2ac12
commit
1b0937ee8e
2 changed files with 5 additions and 2 deletions
|
@ -118,7 +118,10 @@ def MissingServers(): list<dict<any>>
|
|||
enddef
|
||||
|
||||
export def LazyConfigure(): void
|
||||
augroup lspLazyConfigure
|
||||
autocmd!
|
||||
autocmd VimEnter * ++once Configure()
|
||||
augroup END
|
||||
enddef
|
||||
|
||||
export def Configure(): void
|
||||
|
|
|
@ -4,7 +4,7 @@ if !exists('g:loaded_minpac')
|
|||
silent !git clone https://github.com/k-takata/minpac.git $XDG_CACHE_HOME/vim/pack/minpac/opt/minpac
|
||||
augroup minpac
|
||||
autocmd!
|
||||
autocmd VimEnter * call minpac#update()
|
||||
autocmd VimEnter * ++once minpac#update()
|
||||
augroup END
|
||||
endif
|
||||
packadd minpac
|
||||
|
|
Loading…
Reference in a new issue