Compare commits

..

3 commits

3 changed files with 11 additions and 4 deletions

View file

@ -118,7 +118,10 @@ def MissingServers(): list<dict<any>>
enddef enddef
export def LazyConfigure(): void export def LazyConfigure(): void
autocmd VimEnter * ++once Configure() augroup lspLazyConfigure
autocmd!
autocmd VimEnter * ++once Configure()
augroup END
enddef enddef
export def Configure(): void export def Configure(): void

View file

@ -2,10 +2,10 @@ vim9script
silent! packadd minpac silent! packadd minpac
if !exists('g:loaded_minpac') 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
endif endif
packadd minpac packadd minpac

4
vimrc
View file

@ -1,4 +1,8 @@
vim9script vim9script
if &compatible
set nocompatible
endif
const xdg = { const xdg = {
XDG_CONFIG_HOME: '~/.config', XDG_CONFIG_HOME: '~/.config',
XDG_CACHE_HOME: '~/.cache', XDG_CACHE_HOME: '~/.cache',