Turn on electric indent mode in js-mode buffers
This commit is contained in:
parent
e6f86a4521
commit
d435aab482
1 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,9 @@ Turn on electric pairing for js-mode buffers.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'js-mode-hook 'electric-pair-local-mode)
|
(add-hook 'js-mode-hook 'electric-pair-local-mode)
|
||||||
#+END_SRC
|
#+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
|
||||||
|
|
Loading…
Reference in a new issue