auto install plugins at start

This commit is contained in:
Nachuan Tang
2023-02-28 18:33:55 -05:00
parent 384fb4b499
commit 61abd4927a
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -136,6 +136,12 @@
endif
call plug#end()
" Automatically install missing plugins on startup
autocmd VimEnter *
\ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | q
\| endif
" }
" only work for Plug.vim
+3
View File
@@ -0,0 +1,3 @@
{
"diagnostic.errorSign": ">"
}