chore(editor/rainbow): move setup to a central list of hooks

This commit is contained in:
2022-12-04 00:33:04 +00:00
parent 63d0345b21
commit d0a1d34e2c
4 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,14 @@
(use-package rainbow-mode
:defer t
:diminish raindbox-mode)
:diminish rainbow-mode
:hook
((css-mode
php-mode) . siren-rainbow-mode-enable)
:preface
(defun siren-rainbow-mode-enable ()
(rainbow-mode t)))
(provide 'siren-rainbow)
;;; siren-rainbow.el ends here