Emacs: switch to the Wordpress coding style in php-mode-hook
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -1178,6 +1178,7 @@ (unbind-key "C-c C-f" php-mode-map) (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