Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default. Addresses #286
This commit is contained in:
parent
2cbd1b9107
commit
9d81bc5a8b
45 changed files with 90 additions and 151 deletions
|
@ -7,11 +7,11 @@
|
|||
|
||||
|
||||
(def-package! php-mode
|
||||
:mode ("\\.php[s345]?$" "\\.inc$")
|
||||
:mode "\\.php[s345]?$"
|
||||
:mode "\\.inc$"
|
||||
:interpreter "php"
|
||||
:config
|
||||
(add-hook! 'php-mode-hook
|
||||
#'(ac-php-core-eldoc-setup flycheck-mode))
|
||||
(add-hook! php-mode #'(ac-php-core-eldoc-setup flycheck-mode))
|
||||
|
||||
(setq php-template-compatibility nil)
|
||||
|
||||
|
@ -68,8 +68,7 @@
|
|||
|
||||
|
||||
(def-package! php-refactor-mode
|
||||
:commands php-refactor-mode
|
||||
:init (add-hook 'php-mode-hook #'php-refactor-mode))
|
||||
:hook php-mode)
|
||||
|
||||
|
||||
(def-package! phpunit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue