Nvim support changes
This commit is contained in:
@@ -10,12 +10,20 @@
|
||||
" * Launch vim and run :PluginInstall
|
||||
" * To install from command line: vim +PluginInstall +qall
|
||||
|
||||
" Vundle Installation {{{
|
||||
" Bootstrap Vundle if it's not installed
|
||||
if empty(glob("~/.vim/autoload/plug.vim"))
|
||||
echo "No vim-plug, getting it ..."
|
||||
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
echo "Getting vim-plug ... done"
|
||||
" Plug Installation {{{
|
||||
" Bootstrap Plug if it's not installed
|
||||
if has("nvim")
|
||||
if empty(glob("~/.config/nvim/autoload/plug.vim"))
|
||||
echo "No vim-plug, getting it ..."
|
||||
execute '!curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
echo "Getting vim-plug ... done"
|
||||
endif
|
||||
else
|
||||
if empty(glob("~/.vim/autoload/plug.vim"))
|
||||
echo "No vim-plug, getting it ..."
|
||||
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
echo "Getting vim-plug ... done"
|
||||
endif
|
||||
endif
|
||||
" }}}
|
||||
|
||||
|
Reference in New Issue
Block a user