1
0
Fork 0

Add rainbow-mode to CSS

This commit is contained in:
Tom Willemse 2019-07-11 08:00:18 -07:00
parent b16a0721c2
commit 9ad4f5d4e0

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190306003014 ;; Version: 20190711075945
;; Package-Requires: (oni-company oni-fci hydra) ;; Package-Requires: (oni-company oni-fci hydra rainbow-mode)
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; it under the terms of the GNU General Public License as published by
@ -70,10 +70,11 @@
(setq css-indent-offset 2) (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 '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 'fci-mode)
(add-hook 'css-mode-hook 'rainbow-mode)
(with-eval-after-load 'compile (with-eval-after-load 'compile
(let ((scss-error-regexp (let ((scss-error-regexp