diff --git a/init.d/programming/common.el b/init.d/programming/common.el index d9e9d37..c87d921 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-08-03T03:08:03+0200> +;; Time-stamp: <2020-10-14T21:42:02+0200> ;;; Commentary: @@ -259,10 +259,6 @@ year if mode is derived from prog-mode." :foreground "LightSkyBlue")))) :hook (prog-mode . rainbow-delimiters-mode)) -(use-package rainbow-mode - :diminish rainbow-mode - :hook (prog-mode . rainbow-mode)) - ;; Make bug references clickable. (use-package bug-reference :straight nil ; Inbuilt. diff --git a/init.d/text/common.el b/init.d/text/common.el index 2b4be73..a44038b 100644 --- a/init.d/text/common.el +++ b/init.d/text/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-10-14T21:39:33+0200> +;; Time-stamp: <2020-10-14T21:42:37+0200> ;;; Commentary: @@ -307,5 +307,11 @@ :mode ("\\.log$" . my/apply-ansi-colors-on-buffer) :hook (compilation-filter . my/apply-ansi-colors-compilation)) +;; Colorize color names. +(use-package rainbow-mode + :demand t + :diminish rainbow-mode + :hook (prog-mode . rainbow-mode)) + (provide 'text/common) ;;; common.el ends here