lang/php: add +hack support

This commit is contained in:
Henrik Lissner 2018-07-29 02:46:18 +02:00
parent 6cfbeaa4f6
commit db8ed4aac6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 21 additions and 23 deletions

View file

@ -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)