#!/usr/bin/env fish

# fish_plugins hash {{ include "private_dot_config/nvim/init.lua" | sha256sum }}
set Green '\033[0;32m'           # Green
set NC    '\033[0m'              # No Color

echo
echo -ne "$Green""Executing neovim :Lazy sync..."

timeout 30s nvim --headless "+Lazy! sync" +qa || true
timeout 10s nvim --headless ":MasonUpdate" +qa || true

echo -e " done.$NC"
echo
