php: add hack-mode
This commit is contained in:
parent
1ac5e07214
commit
e4103362a5
2 changed files with 5 additions and 0 deletions
1
Cask
1
Cask
|
@ -186,6 +186,7 @@
|
|||
(depends-on "php-refactor-mode")
|
||||
(depends-on "php-boris")
|
||||
(depends-on "php-extras")
|
||||
(depends-on "hack-mode" :git "https://github.com/beefsack/hack-mode")
|
||||
|
||||
;; Processing -- modules/module-processing.el
|
||||
(depends-on "processing-mode")
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; module-php.el
|
||||
|
||||
(use-package hack-mode
|
||||
:mode "\\.hh$"
|
||||
:config (define-company-backend! hack-mode (capf)))
|
||||
|
||||
(use-package php-mode
|
||||
:mode ("\\.php[s345]?$" "\\.inc$" )
|
||||
:interpreter "php"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue