diff options
author | 2019-05-05 20:05:53 -0700 | |
---|---|---|
committer | 2019-05-05 20:05:53 -0700 | |
commit | 0977d80d00780494daa7b631839f674104828f11 (patch) | |
tree | a383def4f13166eaac108bb8778750f2d7647b48 /oni-php.el | |
parent | 6c16cb94c1b28d340b1a72b92c0e4ef21162bb7b (diff) | |
download | emacs-config-0977d80d00780494daa7b631839f674104828f11.tar.gz emacs-config-0977d80d00780494daa7b631839f674104828f11.zip |
Add phpcbf as dependency for oni-php
Diffstat (limited to 'oni-php.el')
-rw-r--r-- | oni-php.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,8 +4,8 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 20190306003024 -;; Package-Requires: (php-mode oni-flycheck oni-company oni-fci ggtags fic-mode hydra company-php) +;; Version: 20190505200117 +;; Package-Requires: (php-mode oni-flycheck oni-company oni-fci ggtags fic-mode hydra company-php phpcbf) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -55,6 +55,7 @@ nil for some reason." (add-hook 'php-mode-hook 'fic-mode) (add-hook 'php-mode-hook 'flycheck-mode) (add-hook 'php-mode-hook 'ggtags-mode) +(add-hook 'php-mode-hook 'phpcbf-enable-on-save) (with-eval-after-load 'company (add-to-list 'company-backends 'company-ac-php-backend)) |