mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-05 02:16:43 +00:00
Update install script to be faster
Install nvim plugins first since it's parallel Skip UpdateRemotePlugins as each plugin should do it with vim-plug Automate install of neovim python module
This commit is contained in:
parent
4f41d766a8
commit
5a71a92b06
@ -30,18 +30,19 @@ ln -s $VIM_SYNC_DIR/vim $XDG_CONFIG_HOME/nvim
|
||||
|
||||
# Install all bundles
|
||||
echo "Install all bundles"
|
||||
vim +PlugInstall +qall
|
||||
if hash nvim 2>/dev/null; then
|
||||
if hash pip 2>/dev/null; then
|
||||
echo 'Installing neovim python module in $HOME'
|
||||
pip install --user neovim
|
||||
fi
|
||||
echo "If using Neovim, install the python modules in your environment"
|
||||
nvim +PlugInstall +qall
|
||||
nvim +UpdateRemotePlugins +qall
|
||||
fi
|
||||
vim +PlugInstall +qall
|
||||
|
||||
vim --version | grep -q '\+lua' || { echo "Warning: Default vim does not include lua"; }
|
||||
vim --version | grep -q '\+ruby' || { echo "Warning: Default vim does not include ruby."; }
|
||||
vim --version | grep -q '\+python' || { echo "Warning: Default vim does not include python"; }
|
||||
|
||||
echo "If using Neovim, install the python modules"
|
||||
|
||||
echo "All done!"
|
||||
exit 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user