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 \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
|
2018-04-02 11:23:50 +08:00
|
|
|
nvim +PlugInstall +qa || true
|
2018-04-01 23:53:43 +08:00
|
|
|
|