summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2014-06-25 14:28:47 +0100
committerAlan Pearce2014-06-25 14:28:47 +0100
commit574dcaaf978438e5823bd5422b79d351b4ba73be (patch)
treee0056782f0a4665730976faa2a963cc379cfe63c /tag-emacs/emacs.d
parent7172c6e38f35d6e076dff3af84094c141f2203da (diff)
downloadnixfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.tar.lz
nixfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.tar.zst
nixfiles-574dcaaf978438e5823bd5422b79d351b4ba73be.zip
Emacs: add and configure scss-mode
Diffstat (limited to 'tag-emacs/emacs.d')
-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 9c87513e..8f125c70 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 bfe11657..3e241471 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)