summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-25 14:28:47 +0100
committerAlan Pearce2014-06-25 14:28:47 +0100
commit574dcaaf978438e5823bd5422b79d351b4ba73be (patch)
treee0056782f0a4665730976faa2a963cc379cfe63c
parent7172c6e38f35d6e076dff3af84094c141f2203da (diff)
downloaddotfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.tar.lz
dotfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.tar.zst
dotfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.zip
Emacs: add and configure scss-mode
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 9c87513..8f125c7 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -65,6 +65,7 @@
 (depends-on "redshank")
 (depends-on "req-package")
 (depends-on "s")
+(depends-on "scss-mode")
 (depends-on "skewer-mode")
 (depends-on "slime")
 (depends-on "smart-forward")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index bfe1165..3e24147 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -961,6 +961,11 @@
             (setq js2-basic-offset 4
                   js2-global-externs '("$"))))
 
+(req-package scss-mode
+  :defer t
+  :config (progn
+            (setq scss-compile-at-save nil)))
+
 (req-package mustache-mode
   :mode (("\\.mustache" . mustache-mode)
          ("\\.mt\\'" . mustache-mode)