mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
13 lines
330 B
EmacsLisp
13 lines
330 B
EmacsLisp
(add-to-list 'auto-mode-alist '("\\.php\\'" . php+-mode))
|
|
|
|
(defun customizations-for-php+-mode ()
|
|
(interactive)
|
|
(setq whitespace-action (quote (auto-cleanup)))
|
|
(flyspell-prog-mode)
|
|
(linum-mode t)
|
|
(fci-mode)
|
|
(auto-complete-mode)
|
|
(highlight-indentation-mode))
|
|
|
|
(add-hook 'php+-mode-hook 'customizations-for-php+-mode)
|