Set <RET> key in css-mode to call newline-and-indent

This commit is contained in:
2012-03-24 11:44:08 +00:00
parent 0a8a1a55a7
commit 1ef44eeec3

View File

@@ -5,4 +5,5 @@
(fci-mode)
(setq css-indent-offset 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)))
(highlight-indentation-mode)
(define-key css-mode-map (kbd "RET") 'newline-and-indent)))