lang/php: add +hack support
This commit is contained in:
parent
6cfbeaa4f6
commit
db8ed4aac6
3 changed files with 21 additions and 23 deletions
|
@ -2,12 +2,6 @@
|
|||
|
||||
(defvar +php--company-backends nil)
|
||||
|
||||
;; (def-package! hack-mode
|
||||
;; :mode "\\.hh$"
|
||||
;; :config
|
||||
;; (set-company-backend! 'hack-mode '(company-capf)))
|
||||
|
||||
|
||||
(def-package! php-mode
|
||||
:mode "\\.inc\\'"
|
||||
:interpreter "php"
|
||||
|
@ -44,6 +38,11 @@
|
|||
:n "s" #'phpunit-current-test)))
|
||||
|
||||
|
||||
(def-package! hack-mode
|
||||
:when (featurep! +hack)
|
||||
:mode "\\.hh$")
|
||||
|
||||
|
||||
(def-package! php-refactor-mode
|
||||
:hook php-mode)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue