summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-11-03 14:35:46 +0100
committerGravatar Tom Willemse2014-11-03 14:35:46 +0100
commit11ed78d83a9af53e2aa271dec8deea2d55f204cb (patch)
tree0d486dfe89b2bb79aaa25551b2068fb49bbe8a1a /emacs/.emacs.d/init.org
parent67ca1898903482cf6b4d6f54ad02147bec27d04e (diff)
downloaddotfiles-11ed78d83a9af53e2aa271dec8deea2d55f204cb.tar.gz
dotfiles-11ed78d83a9af53e2aa271dec8deea2d55f204cb.zip
Enable electric-indent for php
Diffstat (limited to 'emacs/.emacs.d/init.org')
-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 446f417..492becb 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1092,6 +1092,14 @@
(add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+** PHP
+
+ - Automatically indent code
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'php-mode-hook #'electric-indent-local-mode)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I