install: headless nvim
This commit is contained in:
parent
9b5625df28
commit
eddae2e160
@ -7,12 +7,12 @@ VIM_PLUG="$HOME/.local/share/nvim/site/autoload/plug.vim"
|
||||
if [ -f "$VIM_PLUG" ]; then
|
||||
echo "Updating vim plugin manager..."
|
||||
echo "Updating vim plugins..."
|
||||
nvim +PlugUpgrade +PlugUpdate +qall
|
||||
nvim --headless +PlugUpgrade +PlugUpdate +qall
|
||||
else
|
||||
echo "Installing vim plugin manager..."
|
||||
curl -fsSL -o "$VIM_PLUG" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
echo "Installing vim plugins..."
|
||||
nvim +PlugInstall +qall
|
||||
nvim --headless +PlugInstall +qall
|
||||
fi
|
||||
|
||||
echo
|
||||
|
Loading…
x
Reference in New Issue
Block a user