mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 11:09:29 +00:00
Add SCSS support
This commit is contained in:
parent
417548b4c4
commit
06917188f0
1 changed files with 17 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue