mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Write modules + defuns
This commit is contained in:
16
modules/module-php.el
Normal file
16
modules/module-php.el
Normal file
@ -0,0 +1,16 @@
|
||||
;;; module-php.el
|
||||
|
||||
(use-package php-mode
|
||||
:mode "\\.\\(php\\|inc\\)$"
|
||||
:init
|
||||
(setq php-template-compatibility nil)
|
||||
:config
|
||||
(require 'php-extras)
|
||||
(add-company-backend! php-mode '(php-extras-company))
|
||||
|
||||
;; TODO Tie into emr
|
||||
(require 'php-refactor-mode)
|
||||
(add-hook! php-mode '(turn-on-eldoc-mode emr-initialize php-refactor-mode)))
|
||||
|
||||
(provide 'module-php)
|
||||
;;; module-php.el ends here
|
Reference in New Issue
Block a user