Files
.emacs.d/mode-customizations/css-mode.el
Jim Myhrberg 1907feb14f Disable highlight-indentation-current-column-mode for certain modes
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.
2012-04-04 11:03:43 +01:00

10 lines
331 B
EmacsLisp

(add-hook 'css-mode-hook
(lambda ()
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(setq css-indent-offset 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)
(define-key css-mode-map (kbd "RET") 'newline-and-indent)))