From 1e658562f0656f3bffe73a4a3c9dd4c152cc6cb2 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Mon, 19 Jul 2021 07:08:28 +0530 Subject: [PATCH] install.sh: Run PackerSync from script after install too as the corresponding code for that was removed from init.lua --- install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install.sh b/install.sh index fbb0bf1..401ce04 100755 --- a/install.sh +++ b/install.sh @@ -153,11 +153,7 @@ main() { if _NVIM="$(command -v nvim)"; then if _check_nvim_version; then printf "\n%s\n" "=> Neovim will now open." && sleep 1 - if [ "${_UPDATE}" = "false" ]; then - "${_NVIM}" +":lua require 'pluginList' vim.cmd('PackerSync')" - else - "${_NVIM}" - fi + "${_NVIM}" +":lua require 'pluginList' vim.cmd('PackerSync')" 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." fi