diff options
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init/js-mode-init.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/js-mode-init.org b/emacs/.emacs.d/init/js-mode-init.org index e7836c1..e28e84d 100644 --- a/emacs/.emacs.d/init/js-mode-init.org +++ b/emacs/.emacs.d/init/js-mode-init.org @@ -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 |