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
|
enddef
|
||||||
|
|
||||||
export def LazyConfigure(): void
|
export def LazyConfigure(): void
|
||||||
|
augroup lspLazyConfigure
|
||||||
|
autocmd!
|
||||||
autocmd VimEnter * ++once Configure()
|
autocmd VimEnter * ++once Configure()
|
||||||
|
augroup END
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
export def Configure(): void
|
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
|
silent !git clone https://github.com/k-takata/minpac.git $XDG_CACHE_HOME/vim/pack/minpac/opt/minpac
|
||||||
augroup minpac
|
augroup minpac
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimEnter * call minpac#update()
|
autocmd VimEnter * ++once minpac#update()
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
packadd minpac
|
packadd minpac
|
||||||
|
|
Loading…
Reference in a new issue