From 9ad4f5d4e0eb2368f33eeabdadb2e08f7359707e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 11 Jul 2019 08:00:18 -0700 Subject: [PATCH] Add rainbow-mode to CSS --- oni-css.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/oni-css.el b/oni-css.el index 7870b6e..22e5756 100644 --- a/oni-css.el +++ b/oni-css.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190306003014 -;; Package-Requires: (oni-company oni-fci hydra) +;; Version: 20190711075945 +;; Package-Requires: (oni-company oni-fci hydra rainbow-mode) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -70,10 +70,11 @@ (setq css-indent-offset 2) -(add-hook 'css-mode-hook 'electric-pair-local-mode) -(add-hook 'css-mode-hook 'electric-indent-local-mode) (add-hook 'css-mode-hook 'company-mode) +(add-hook 'css-mode-hook 'electric-indent-local-mode) +(add-hook 'css-mode-hook 'electric-pair-local-mode) (add-hook 'css-mode-hook 'fci-mode) +(add-hook 'css-mode-hook 'rainbow-mode) (with-eval-after-load 'compile (let ((scss-error-regexp