changed default indent offset in scss-mode to 2
This commit is contained in:
parent
26c3bc0a54
commit
9b57406fe2
1 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue