dotfiles/emacs/.emacs.d/init/oni-css-mode-init.org

17 lines
353 B
Org Mode
Raw Normal View History

#+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