Files
coredesktop/updates.d/46-neovim.sh
T
2026-10-19 13:56:54 -06:00

12 lines
309 B
Bash
Executable File

#!/bin/bash
# Only the plugins are updated; the kickstart.nvim config itself is the user's to edit.
is_installed() {
command -v nvim &>/dev/null && [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lazy/lazy.nvim" ]
}
run_update() {
echo "Updating Neovim plugins..."
nvim --headless "+Lazy! sync" +qa
}