summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
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