#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/skip/warn/err helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"

log "Installing Geany and plugins..."
# geany: lightweight GTK text editor / basic IDE with syntax highlighting.
# geany-plugins: meta-package of community plugins (project manager, Git integration,
#                spell check, etc.) that ship separately from the core editor.
sudo pacman -S --noconfirm --needed geany geany-plugins
log "Geany installed."
