Auto install new nvim plugins
This commit is contained in:
1 parent
629c3b6985
commit
0e60423de9
1 file changed
+7
@@ -68,6 +68,13 @@ Plug 'lervag/vimtex'
|
||||
Plug 'fatih/vim-go'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" Run PlugInstall if there are missing plugins
|
||||
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
||||
\| PlugInstall --sync | source $MYVIMRC
|
||||
\| endif
|
||||
|
||||
|
||||
filetype plugin indent on
|
||||
set cinkeys-=0#
|
||||
|
||||
|
||||
Reference in new issue
Block a user