summaryrefslogtreecommitdiffstats
path: root/emacs.d/20-rainbow.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/20-rainbow.el')
-rw-r--r--emacs.d/20-rainbow.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/20-rainbow.el b/emacs.d/20-rainbow.el
new file mode 100644
index 0000000..af635c8
--- /dev/null
+++ b/emacs.d/20-rainbow.el
@@ -0,0 +1,6 @@
+(autoload 'rainbow-mode "rainbow-mode"
+ "A Minor mode for showing colors inline" t)
+
+(add-hook 'css-mode-hook
+ (lambda ()
+ (rainbow-mode)))