auto install plugins at start
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"diagnostic.errorSign": ">"
|
||||
}
|
||||
Reference in New Issue
Block a user