Files
dotfiles/install.d/25-vim.sh
Andrejus de5e296806 fix: CI log formatting and glow install on Debian
- Move glow install from apt/pacman/brew to mise (fixes Debian CI
  failure where glow is not in default apt repos)
- Suppress verbose Poetry installer banner with tail -1 in mise
  app install loop
- Add final log_pass to vim plugin script for consistent formatting
- Add version quote to cmatrix for completeness

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-18 18:39:10 +00:00

29 lines
771 B
Bash
Executable File

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install vim plugins using native vim packages (pack/).
#
vim_pack_dir="$HOME/.vim/pack/plugins/start"
mkdir -p "$HOME/.vim/pack/plugins/start"
vim_plugins=(
"https://github.com/airblade/vim-gitgutter.git"
"https://github.com/tpope/vim-commentary.git"
"https://github.com/tpope/vim-surround.git"
)
for url in "${vim_plugins[@]}"; do
name=$(basename "$url" .git)
dest="$vim_pack_dir/$name"
if [[ -d "$dest" ]]; then
git -C "$dest" pull --quiet
log_pass "$name updated"
else
git clone --depth 1 --quiet "$url" "$dest"
log_pass "$name installed"
fi
done
log_pass "vim plugins configured"