diff --git a/mode-customizations.el b/mode-customizations.el index c96bcbd..6ab3800 100644 --- a/mode-customizations.el +++ b/mode-customizations.el @@ -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")) diff --git a/mode-customizations/sass-mode.el b/mode-customizations/sass-mode.el new file mode 100644 index 0000000..2c8eb35 --- /dev/null +++ b/mode-customizations/sass-mode.el @@ -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)