summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0b92b4e..fd54684 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1178,6 +1178,7 @@ Works with: arglist-cont-nonempty, arglist-close."
             (unbind-key "C-." php-mode-map)
             (if (eq env/location 'home)
                 (setq php-manual-url "http://docs.home/manual/en/"))
+            (add-hook 'php-mode-hook #'php-enable-wordpress-coding-style)
             (add-hook 'php-mode-hook (lambda ()
                                        (set (make-local-variable 'eldoc-documentation-function) #'my-php-eldoc-function)))
             (use-package eldoc-php