mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Ruby, PHP, JavaScript and others have closing statements for code blocks. Highlightighting the current indentation level serves as more of annoyance than a useful tool. The same it not true for the likes of Python or CoffeeScript for example.
8 lines
232 B
EmacsLisp
8 lines
232 B
EmacsLisp
(add-hook 'php-mode-hook
|
|
(lambda ()
|
|
(setq whitespace-action (quote (auto-cleanup)))
|
|
(flyspell-prog-mode)
|
|
(linum-mode t)
|
|
(fci-mode)
|
|
(highlight-indentation-mode)))
|