From 9a01b6214bbd8a87a36a89c6f6b168d76b4b5d11 Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Thu, 28 Aug 2025 23:04:20 -0400 Subject: configure compile-mode with colors and auto-scroll --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 09ce409..82ea0ca 100644 --- a/init.el +++ b/init.el @@ -61,6 +61,13 @@ (when (fboundp 'repeat-mode) (add-hook 'after-init-hook 'repeat-mode)) +;; Properly parse ANSI escape codes in compile mode +(when (fboundp 'ansi-color-compilation-filter) + (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)) + +;; Automatically scroll compile output when buffer is full +(setopt compilation-scroll-output t) + ;; General editor preferences (setopt column-number-mode t case-fold-search t -- cgit v1.3.1