From c91a3efa4e5f826585952e1d7e5cdc15a91a9491 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 20 Oct 2016 16:18:39 +0200 Subject: [PATCH] Add rainbow mode to css mode --- emacs/.emacs.d/init/oni-css-mode-init.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/.emacs.d/init/oni-css-mode-init.org b/emacs/.emacs.d/init/oni-css-mode-init.org index ab79175..c683af0 100644 --- a/emacs/.emacs.d/init/oni-css-mode-init.org +++ b/emacs/.emacs.d/init/oni-css-mode-init.org @@ -20,3 +20,10 @@ Enable company mode. #+BEGIN_SRC emacs-lisp (add-hook 'css-mode-hook 'company-mode) #+END_SRC + +Enable rainbow mode to see all the color specifications (well, most) +as pretty colors. + +#+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook 'rainbow-mode) +#+END_SRC