From 06917188f0843e673bcc7fd476b243a7b2ba2574 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 13 Jan 2016 10:17:23 -0500 Subject: [PATCH] Add SCSS support --- .emacs.d/emacs.org | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index 6f19b8b..5b72fb2 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -240,13 +240,28 @@ A strongly typed, pure functional language. :commands turn-on-hi2 :init (add-hook 'haskell-mode-hook 'turn-on-hi2)) #+END_SRC -*** PHP +*** Web +**** HTML #+name: programming #+BEGIN_SRC emacs-lisp (use-package web-mode :ensure t :mode "\\.html?$") - +#+END_SRC +**** SCSS +#+name: programming +#+BEGIN_SRC emacs-lisp + (use-package scss-mode + :ensure t + :mode "\\.scss$" + :config (add-hook 'scss-mode-hook + (lambda () + "Customize SCSS indentation" + (setq css-indent-offset 2)))) +#+END_SRC +*** PHP +#+name: programming +#+BEGIN_SRC emacs-lisp (use-package php-mode :ensure t :mode (("\\.php$" . php-mode)