Run prelude-prog-mode-hook with CSS
I don't know if CSS should be count as a programming language, but the utilities provided in the `prelude-prog-mode-hook`, such as smartparens, whitespace-mode, comment annotation, are also very useful when editing CSS files.
This commit is contained in:
parent
3b61b1f3bb
commit
149f9ec301
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@
|
|||
|
||||
(defun prelude-css-mode-defaults ()
|
||||
(setq css-indent-offset 2)
|
||||
(rainbow-mode +1))
|
||||
(rainbow-mode +1)
|
||||
(run-hooks 'prelude-prog-mode-hook))
|
||||
|
||||
(setq prelude-css-mode-hook 'prelude-css-mode-defaults)
|
||||
|
||||
|
|
Loading…
Reference in a new issue