1
0
Fork 0
env/.install/plug.sh

22 lines
567 B
Bash
Raw Normal View History

2018-04-01 16:54:18 +08:00
#!/bin/sh
set -e
source ./.versions
echo
echo "Installing vim-plug..."
echo
2018-04-02 11:23:50 +08:00
# avoid warnings and install spellcheck files first
curl -fLo ~/.local/share/nvim/site/spell/en.utf-8.spl --create-dirs \
http://ftp.vim.org/pub/vim/runtime/spell/en.utf-8.spl
curl -fLo ~/.local/share/nvim/site/spell/en.utf-8.sug --create-dirs \
http://ftp.vim.org/pub/vim/runtime/spell/en.utf-8.sug
# install plug
2018-04-01 16:54:18 +08:00
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
2019-01-16 00:18:48 +08:00
https://github.com/junegunn/vim-plug/raw/$VIM_PLUG_VERSION/plug.vim
2018-04-01 16:54:18 +08:00
2018-04-02 11:23:50 +08:00
nvim +PlugInstall +qa || true
2018-04-01 23:53:43 +08:00