Add SCSS support

This commit is contained in:
Correl Roush 2016-01-13 10:17:23 -05:00
parent 417548b4c4
commit 06917188f0

View file

@ -240,13 +240,28 @@ A strongly typed, pure functional language.
:commands turn-on-hi2 :commands turn-on-hi2
:init (add-hook 'haskell-mode-hook 'turn-on-hi2)) :init (add-hook 'haskell-mode-hook 'turn-on-hi2))
#+END_SRC #+END_SRC
*** PHP *** Web
**** HTML
#+name: programming #+name: programming
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package web-mode (use-package web-mode
:ensure t :ensure t
:mode "\\.html?$") :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 (use-package php-mode
:ensure t :ensure t
:mode (("\\.php$" . php-mode) :mode (("\\.php$" . php-mode)