dotfiles/home/.chezmoiscripts/+nixos/run_once_after_nvim.sh

8 lines
185 B
Bash

#!/bin/sh
# shellcheck shell=sh
echo "[INFO] Running neovim healthcheck"
if command -v nvim > /dev/null 2>&1; then
nvim --headless +checkhealth +"w nvim-healthcheck.txt" +qall
fi