From abd45c638f30286e19435fa032cca458a9f869da Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Apr 2023 15:50:48 +0200 Subject: emacs: show sample of hex colours in css and xresources files --- user/emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/user/emacs/init.el b/user/emacs/init.el index b55c510a..5eef7449 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -707,6 +707,11 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq undo-tree-auto-save-history nil) (global-undo-tree-mode))) +(use-package rainbow-mode + :ghook ('(css-mode-hook + conf-xdefaults-mode-hook) + #'rainbow-mode)) + ;;; Major modes ;;;; golang -- cgit 1.4.1