Files
.emacs.d/mode-customizations/css-mode.el

11 lines
387 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)
(highlight-indentation-current-column-mode)
(define-key css-mode-map (kbd "RET") 'newline-and-indent)))