Emacs: Use symfony style in PHP
1 file changed, 2 insertions(+), 1 deletion(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1285,7 +1285,8 @@ (bind-key "C-h C-f" #'php-search-documentation php-mode-map) (unbind-key "C-c C-f" php-mode-map) (unbind-key "C-." php-mode-map) (setq php-mode-coding-style "Symfony2") - (add-hook 'php-mode-hook #'turn-on-eldoc-mode))) + (add-hook 'php-mode-hook #'turn-on-eldoc-mode) + (add-hook 'php-mode-hook #'php-enable-symfony2-coding-style))) (req-package sgml-mode :defer t