Files
.emacs.d/modules/languages/siren-php.el
Jim Myhrberg 87a86191db Majorly re-organize modules
- Split large modules into smaller parts (e.g. siren-text-manipulation)
- Organize modules into high level groups:
  - completion
  - core
  - editor
  - languages
  - linting
  - misc
  - navigation
  - projects
  - spelling
  - text-editing
  - version-control
  - windows
  - workspaces
2018-05-20 17:31:11 +01:00

30 lines
611 B
EmacsLisp

;;; siren-php.el --- jimeh's Emacs Siren: php-mode configuration.
;;; Commentary:
;; Basic configuration for php-mode.
;;; Code:
(require 'siren-folding)
(require 'siren-highlight-indentation)
(require 'siren-rainbow)
(use-package php-mode
:interpreter "php"
:mode "\\.php\\'" "\\.inc\\'" "\\.module\\'"
:hook
(php-mode . siren-php-mode-setup)
:init
(defun siren-php-mode-setup ()
(rainbow-mode +1)
(company-mode +1)
(subword-mode +1)
(highlight-indentation-current-column-mode)
(hs-minor-mode 1)
(hideshowvis-enable)))
(provide 'siren-php)
;;; siren-php.el ends here