Files
.emacs.d/modules/siren-php.el
Jim Myhrberg 43b092a8b0 Don't lazy-require siren module dependencies
All siren modules lazy-load if they can, so there's no need to
lazy-require a siren module.

Also this avoids the annoyance of the first time you use a feature
it triggers a package install from melpa. All such things should
happen as part of Emacs startup.
2018-01-10 14:42:07 +00:00

29 lines
656 B
EmacsLisp

;;; siren-php.el --- jimeh's Emacs Siren: php-mode configuration.
;;; Commentary:
;; Basic configuration for php-mode.
;;; Code:
(require 'siren-programming)
(require 'siren-rainbow)
(use-package php-mode
:config
(defun siren-php-mode-defaults ()
(siren-prog-mode-defaults)
(rainbow-mode +1)
(company-mode +1)
(subword-mode +1)
(highlight-indentation-current-column-mode)
(hs-minor-mode 1)
(hideshowvis-enable))
(setq siren-php-mode-hook 'siren-php-mode-defaults)
(add-hook 'php-mode-hook (lambda ()
(run-hooks 'siren-php-mode-hook))))
(provide 'siren-php)
;;; siren-php.el ends here