Turn on electric indent mode in js-mode buffers

This commit is contained in:
Tom Willemse 2016-10-10 22:32:04 +02:00
parent e6f86a4521
commit d435aab482

View file

@ -8,3 +8,9 @@ Turn on electric pairing for js-mode buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'js-mode-hook 'electric-pair-local-mode)
#+END_SRC
Turn on electric indent mode for js-mode buffers.
#+BEGIN_SRC emacs-lisp
(add-hook 'js-mode-hook 'electric-indent-local-mode)
#+END_SRC