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.
24 lines
455 B
EmacsLisp
24 lines
455 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\\'"
|
|
:hook (scss-mode-hook . siren-scss-mode-setup)
|
|
|
|
:config
|
|
;; turn off annoying auto-compile on save
|
|
(setq scss-compile-at-save nil)
|
|
|
|
(defun siren-scss-mode-setup ()
|
|
(siren-css-mode-setup)))
|
|
|
|
(provide 'siren-scss)
|
|
;;; siren-scss.el ends here
|