From 3f49c2d1b60d1a77ee73396d39026e5a507a401f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 27 Sep 2016 02:42:24 +0200 Subject: Enable electric indent mode in CSS buffers --- emacs/.emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index fc34981..13f18fd 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -693,6 +693,14 @@ To start off, first I need to enable lexical binding. (add-hook 'makefile-mode-hook 'oni-whitespace-only-tabs-mode) #+END_SRC +** CSS mode + + Enable electric indent mode. + + #+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook 'electric-indent-local-mode) + #+END_SRC + * Applications ** Magit -- cgit v1.2.3-54-g00ecf