mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Make use of use-package's :bind option whenever possible. - Make use of use-package's :hook option whenever possible. - Rename and move all mode setup functions into use-package's :init step. - Other minor misc fixes and tweaks to a few modules.
25 lines
456 B
EmacsLisp
25 lines
456 B
EmacsLisp
;;; siren-sass.el --- jimeh's Emacs Siren: sass-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for sass-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-css)
|
|
|
|
(use-package sass-mode
|
|
:mode "\\.sass\\'"
|
|
:hook (sass-mode . siren-sass-mode-setup)
|
|
|
|
:init
|
|
(defun siren-sass-mode-setup ()
|
|
(siren-css-mode-css))
|
|
|
|
:config
|
|
;; turn off annoying auto-compile on save
|
|
(setq sass-compile-at-save nil))
|
|
|
|
(provide 'siren-sass)
|
|
;;; siren-sass.el ends here
|