install.sh: More automation
This commit is contained in:
parent
2567ebaee4
commit
2e1d53971e
1 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,9 @@ main() {
|
||||||
if _NVIM="$(command -v nvim)"; then
|
if _NVIM="$(command -v nvim)"; then
|
||||||
if _check_nvim_version; then
|
if _check_nvim_version; then
|
||||||
printf "\n%s\n" "=> Neovim will now open." && sleep 1
|
printf "\n%s\n" "=> Neovim will now open." && sleep 1
|
||||||
"${_NVIM}" +":lua require 'pluginList' vim.cmd('PackerSync')"
|
"${_NVIM}" +"autocmd User PackerComplete ++once quitall" \
|
||||||
|
+":lua require 'pluginList' vim.cmd('PackerSync')"
|
||||||
|
"${_NVIM}"
|
||||||
else
|
else
|
||||||
printf "Error: Neovim is installed, but version is lower than 0.5.x, install Neovim >= 5.x and then run nvim & do :PackerSync\n."
|
printf "Error: Neovim is installed, but version is lower than 0.5.x, install Neovim >= 5.x and then run nvim & do :PackerSync\n."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue