From fecb98423f207892ef317b64ec81ad46bc95d7e5 Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sat, 27 May 2023 10:06:09 +0300 Subject: [PATCH] 30s->10s timeout for nvim :TSUpdate --- .../nvim/run_onchange_after_nvim_plugins_sync.fish.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 26b734e..24df312 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 @@ -5,5 +5,5 @@ printf "Executing neovim :Lazy sync..." nvim --headless "+Lazy! sync" +qa nvim --headless ":MasonUpdate" +qa -timeout 30s nvim --headless -c "TSUpdate" || true +timeout 10s nvim --headless ":TSUpdate" || true echo " done."