Emacs: Init rainbow-mode

master
Pierre Neidhardt 2017-08-30 16:42:46 +01:00
parent dbbbaac384
commit 14bb84a04c
1 changed files with 6 additions and 0 deletions

View File

@ -254,6 +254,12 @@
;;; Python
(with-eval-after-load 'python (require 'init-python))
;;; Rainbow-mode
(nconc package-selected-packages '(rainbow-mode))
(when (require 'rainbow-mode nil t)
(dolist (hook '(css-mode-hook html-mode-hook sass-mode-hook))
(add-hook hook 'rainbow-mode)))
;;; Roff / Nroff
(with-eval-after-load 'nroff-mode (require 'init-nroff))