Write modules + defuns

This commit is contained in:
Henrik Lissner 2015-06-15 09:06:10 +02:00
parent b998f4ab08
commit 3472a1631f
31 changed files with 1418 additions and 32 deletions

16
modules/module-php.el Normal file
View 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