Skip to content

Commit

Permalink
Fix vim plugins install script
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewitteman committed Aug 27, 2024
1 parent 4874cdd commit c821210
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ fi
# writing a viminfo file. The optional number N is the value for 'verbose'.
# Default is 10.
# https://github.com/junegunn/vim-plug/wiki/tips#install-plugins-on-the-command-line
vim -es -u "${HOME}/.vim/vimrc" -i NONE -c "PlugClean!" -c "quitall"
#
# PlugClean! will return a non-zero status code in some cases
vim -es -u "${HOME}/.vim/vimrc" -i NONE -c "PlugClean!" -c "quitall" || true
vim -es -u "${HOME}/.vim/vimrc" -i NONE -c "PlugInstall" -c "quitall"

0 comments on commit c821210

Please sign in to comment.