changed default indent offset in scss-mode to 2

This commit is contained in:
Bozhidar Batsov 2011-11-10 17:38:38 +02:00
parent 26c3bc0a54
commit 9b57406fe2

View file

@ -81,8 +81,14 @@
(require 'haml-mode) (require 'haml-mode)
(require 'scss-mode) (require 'scss-mode)
;; most of the time the scss auto compilation is useless
(setq scss-compile-at-save nil) (defun prelude-scss-mode-hook ()
;; indent like in Ruby
(setq css-indent-offset 2)
;; turn off annoying auto-compile on save
(setq scss-compile-at-save nil))
(add-hook 'scss-mode-hook 'prelude-scss-mode-hook)
;; cucumber support ;; cucumber support
(require 'feature-mode) (require 'feature-mode)