Compare commits
3 commits
9ad605774b
...
1b0937ee8e
Author | SHA1 | Date | |
---|---|---|---|
1b0937ee8e | |||
da72b2ac12 | |||
bd56ae45fe |
3 changed files with 11 additions and 4 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
|
||||||
|
|
|
@ -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
4
vimrc
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue