|
|
@ -16,6 +16,8 @@ for lang in $default_lsp_langs; do
|
|
|
|
choose_langs $lang
|
|
|
|
choose_langs $lang
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
npm config set prefix=~/.node_modules # for global npm pkg installation
|
|
|
|
|
|
|
|
|
|
|
|
pfx="~~~~~ "
|
|
|
|
pfx="~~~~~ "
|
|
|
|
heading() {
|
|
|
|
heading() {
|
|
|
|
echo
|
|
|
|
echo
|
|
|
@ -83,7 +85,7 @@ install_node_deps() {
|
|
|
|
echo "npm not installed"
|
|
|
|
echo "npm not installed"
|
|
|
|
return
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
sudo npm install -g $@
|
|
|
|
npm install -g $@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# install languages
|
|
|
|
# install languages
|
|
|
@ -134,6 +136,8 @@ if [[ ${warn_path} == true ]]; then
|
|
|
|
echo "Ensure ${LSP_BIN_PATH} is available in your \$PATH variable"
|
|
|
|
echo "Ensure ${LSP_BIN_PATH} is available in your \$PATH variable"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "add ~/.node_modules/bin at PATH!"
|
|
|
|
|
|
|
|
|
|
|
|
# install all plugins via packer
|
|
|
|
# install all plugins via packer
|
|
|
|
|
|
|
|
|
|
|
|
nvim +PackerInstall
|
|
|
|
nvim +PackerInstall
|
|
|
|