aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-09-27 02:42:24 +0200
committerGravatar Tom Willemse2016-09-27 02:42:24 +0200
commit3f49c2d1b60d1a77ee73396d39026e5a507a401f (patch)
tree5138ef150cc3b60ce3421495ca6a6c696344299a /emacs/.emacs.d
parenta15f8764f53738fc6203639c60f19093004d5286 (diff)
downloadnew-dotfiles-3f49c2d1b60d1a77ee73396d39026e5a507a401f.tar.gz
new-dotfiles-3f49c2d1b60d1a77ee73396d39026e5a507a401f.zip
Enable electric indent mode in CSS buffers
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
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