Reduce def-package magic; explicitly use :when property
This commit is contained in:
parent
e4b5cf5a56
commit
3e63d2d23b
19 changed files with 55 additions and 37 deletions
|
@ -15,7 +15,7 @@
|
|||
(setq php-template-compatibility nil)
|
||||
|
||||
(set! :repl 'php-mode 'php-boris)
|
||||
(set! :company-bakend 'php-mode '(php-extras-company company-yasnippet))
|
||||
|
||||
|
||||
(add-hook! php-mode (setq-local sp-max-pair-length 6))
|
||||
|
||||
|
@ -51,6 +51,8 @@
|
|||
:config
|
||||
(setq php-extras-eldoc-functions-file (concat doom-etc-dir "php-extras-eldoc-functions"))
|
||||
|
||||
(set! :company-bakend 'php-mode '(php-extras-company company-yasnippet))
|
||||
|
||||
;; company will set up itself
|
||||
(advice-add 'php-extras-company-setup :override 'ignore)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue