fix plugin check on vim startup
This commit is contained in:
parent
8504d8f769
commit
244b1e98bd
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@
|
||||||
"
|
"
|
||||||
" automatically install vim-plug if it does not exist
|
" automatically install vim-plug if it does not exist
|
||||||
" Note: this installs it in the neovim folder, not the vim folder
|
" Note: this installs it in the neovim folder, not the vim folder
|
||||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
||||||
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
||||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | q
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" automatically install any missing plugins
|
" automatically install any missing plugins
|
||||||
|
|
Loading…
Reference in a new issue