29 lines
615 B
Org Mode
29 lines
615 B
Org Mode
#+TITLE: CSS
|
|
|
|
scss-mode is based on css-mode, so any settings for css-mode also
|
|
automatically should work for scss-mode.
|
|
|
|
Enable electric pairing.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(add-hook 'css-mode-hook 'electric-pair-local-mode)
|
|
#+END_SRC
|
|
|
|
Enable electric indenting.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(add-hook 'css-mode-hook 'electric-indent-local-mode)
|
|
#+END_SRC
|
|
|
|
Enable company mode.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(add-hook 'css-mode-hook 'company-mode)
|
|
#+END_SRC
|
|
|
|
Enable rainbow mode to see all the color specifications (well, most)
|
|
as pretty colors.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(add-hook 'css-mode-hook 'rainbow-mode)
|
|
#+END_SRC
|