diff --git a/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl b/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl index cec032d..68432b1 100644 --- a/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl +++ b/private_dot_config/nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl @@ -6,7 +6,9 @@ set NC '\033[0m' # No Color echo echo -ne "$Green""Executing neovim :Lazy sync..." -nvim --headless "+Lazy! sync" +qa -nvim --headless ":MasonUpdate" +qa + +timeout 30s nvim --headless "+Lazy! sync" +qa || true +timeout 10s nvim --headless ":MasonUpdate" +qa || true + echo -e " done.$NC" echo