Enable electric indent mode in CSS buffers

This commit is contained in:
Tom Willemse 2016-09-27 02:42:24 +02:00
parent a15f8764f5
commit 3f49c2d1b6

View file

@ -693,6 +693,14 @@ To start off, first I need to enable lexical binding.
(add-hook 'makefile-mode-hook 'oni-whitespace-only-tabs-mode) (add-hook 'makefile-mode-hook 'oni-whitespace-only-tabs-mode)
#+END_SRC #+END_SRC
** CSS mode
Enable electric indent mode.
#+BEGIN_SRC emacs-lisp
(add-hook 'css-mode-hook 'electric-indent-local-mode)
#+END_SRC
* Applications * Applications
** Magit ** Magit