mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Add SASS mode customizations
This commit is contained in:
@@ -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"))
|
||||
|
||||
13
mode-customizations/sass-mode.el
Normal file
13
mode-customizations/sass-mode.el
Normal 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)
|
||||
Reference in New Issue
Block a user