Add SASS mode customizations

This commit is contained in:
2012-08-13 02:32:03 +01:00
parent 99c1ee46b3
commit a35f6fa301
2 changed files with 14 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
(load-file (config-path "mode-customizations/python-mode.el"))
(load-file (config-path "mode-customizations/rhtml-mode.el"))
(load-file (config-path "mode-customizations/ruby-mode.el"))
(load-file (config-path "mode-customizations/sass-mode.el"))
(load-file (config-path "mode-customizations/sh-mode.el"))
(load-file (config-path "mode-customizations/slim-mode.el"))
(load-file (config-path "mode-customizations/yaml-mode.el"))

View File

@@ -0,0 +1,13 @@
(defun customizations-for-sass-mode ()
(interactive)
(flyspell-prog-mode)
(flymake-sass-load)
(linum-mode t)
(fci-mode)
(auto-complete-mode)
(setq tab-width 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode))
(add-hook 'sass-mode-hook 'customizations-for-sass-mode)