mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
All siren modules lazy-load if they can, so there's no need to lazy-require a siren module. Also this avoids the annoyance of the first time you use a feature it triggers a package install from melpa. All such things should happen as part of Emacs startup.
26 lines
544 B
EmacsLisp
26 lines
544 B
EmacsLisp
;;; siren-scss.el --- jimeh's Emacs Siren: scss-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for scss-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-css)
|
|
|
|
(use-package scss-mode
|
|
:mode "\\.scss\\'"
|
|
|
|
:config
|
|
;; turn off annoying auto-compile on save
|
|
(setq scss-compile-at-save nil)
|
|
|
|
(defun siren-scss-mode-defaults ()
|
|
(siren-css-mode-defaults))
|
|
|
|
(setq siren-scss-mode-hook 'siren-scss-mode-defaults)
|
|
(add-hook 'scss-mode-hook (lambda () (run-hooks 'siren-scss-mode-hook))))
|
|
|
|
(provide 'siren-scss)
|
|
;;; siren-scss.el ends here
|