From b3feea66c9806c84bd29fc23eacd5a854d717b82 Mon Sep 17 00:00:00 2001 From: Jorge Barnaby Date: Sun, 1 Feb 2026 21:40:09 -0500 Subject: [PATCH 1/2] Switch Neovim PPA from stable to unstable --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 26701a5..088ef56 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -393,7 +393,7 @@ function stepInstallNeoVim() { if ! [ -e "$(command -v nvim)" ]; then logStep "Installing NeoVim..." # Adds repo for latest neovim version - runCmdAndLog add-apt-repository -y ppa:neovim-ppa/stable + runCmdAndLog add-apt-repository -y ppa:neovim-ppa/unstable runCmdAndLog ${APT_CMD} update runCmdAndLog ${APT_INSTALL} neovim # Set neovim as default vim From 7213092934c56aef027c6c8084aa6fa85e58908a Mon Sep 17 00:00:00 2001 From: Jorge Barnaby Date: Sun, 1 Feb 2026 21:55:54 -0500 Subject: [PATCH 2/2] Fix NeoVim alternatives registration for unstable PPA The unstable PPA package does not register nvim in the vi/vim alternatives groups, so update-alternatives --set fails with exit code 2. Switch to --install which both registers and selects the alternative with priority 110. Co-Authored-By: Claude Opus 4.5 --- bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 088ef56..11aeeef 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -399,8 +399,8 @@ function stepInstallNeoVim() { # Set neovim as default vim local NVIM_BIN NVIM_BIN="$(command -v nvim)" - runCmdAndLog update-alternatives --set vi "${NVIM_BIN}" - runCmdAndLog update-alternatives --set vim "${NVIM_BIN}" + runCmdAndLog update-alternatives --install /usr/bin/vi vi "${NVIM_BIN}" 110 + runCmdAndLog update-alternatives --install /usr/bin/vim vim "${NVIM_BIN}" 110 log "NeoVim installed." else logStep "NeoVim already installed."