timeout for nvim sync
This commit is contained in:
parent
2d05423344
commit
d0d61fe69a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user