1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

change vim-plug install dir

This commit is contained in:
jdhao 2020-10-09 11:07:38 +08:00 committed by GitHub
parent a83973ede8
commit cb45575b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ fi
NVIM_DIR=$HOME/tools/nvim
NVIM_SRC_NAME=$HOME/packages/nvim-linux64.tar.gz
NVIM_CONFIG_DIR=$HOME/.config/nvim
NVIM_DATA_DIR=$HOME/.local/share/nvim
NVIM_SITE_DIR=$HOME/.local/share/nvim/site
NVIM_LINK="https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz"
if [[ ! -f "$NVIM_DIR/bin/nvim" ]]; then
echo "Installing Neovim"
@ -173,7 +173,7 @@ fi
git clone https://github.com/jdhao/nvim-config.git "$NVIM_CONFIG_DIR"
echo "Installing vim-plug"
curl -fLo "$NVIM_DATA_DIR/autoload/plug.vim" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl -fLo "$NVIM_SITE_DIR/autoload/plug.vim" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"$NVIM_DIR/bin/nvim" +PlugInstall +qall
echo "Finished installing Neovim and its dependencies!"