#!/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 Kate..."
# Kate is the KDE Advanced Text Editor; available in the official Arch repos.
# --noconfirm skips interactive prompts; --needed avoids reinstalling if current.
sudo pacman -S --noconfirm --needed kate
log "Kate installed."
