config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 7eb2d77a313670c5990b9dd8a080369910c9cf35
parent 14444c788bd5744feb85a44ec7418197d82951bf
Author: dwrz <dwrz@dwrz.net>
Date:   Sat, 25 Nov 2023 14:50:56 +0000

Fix Emacs init rainbow mode

Diffstat:
Memacs/init.el | 20+++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -153,10 +153,7 @@ :config (setq compilation-message-face 'default) :ensure nil) -(use-package conf-mode - :ensure nil - :hook (conf-mode . rainbow-mode) - :requires rainbow-mode) +(use-package conf-mode :ensure nil) (use-package csv-mode :mode "\\.csv\\'" :ensure t) @@ -539,12 +536,15 @@ font-lock-warning-face t))) :hook ((prog-mode . flycheck-mode) (prog-mode . flyspell-prog-mode) - (prog-mode . rainbow-mode) (prog-mode . visual-line-mode)) - :ensure nil - :requires rainbow-mode) + :ensure nil) -(use-package rainbow-mode :defer t :ensure t) +(use-package rainbow-mode + :defer t + :hook ((conf-mode . rainbow-mode) + (prog-mode . rainbow-mode) + (text-mode . rainbow-mode)) + :ensure t) (use-package recentf :config (recentf-mode t) @@ -607,10 +607,8 @@ (use-package text-mode :hook ((text-mode . flyspell-mode) - (text-mode . rainbow-mode) (text-mode . visual-line-mode)) - :ensure nil - :requires rainbow-mode) + :ensure nil) (use-package textsize :config (setq textsize-default-points 19)