diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 50f0452..e0efc4d 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1223,6 +1223,15 @@ (add-hook 'js2-mode-hook #'electric-indent-local-mode) #+END_SRC +** CSS + + Turn on electric indent and electric pair modes for CSS. + + #+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook #'electric-indent-local-mode) + (add-hook 'css-mode-hook #'oni:electric-pair-local-mode) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I