indent switch body in js2 mode.

This commit is contained in:
Ivan Malison 2015-06-28 19:06:23 -04:00
parent f42e8a5c9e
commit 65d5c6420e

View File

@ -1647,7 +1647,8 @@ window is active in the perspective."
(add-hook 'js2-mode-hook (lambda () (setq js-indent-level 4
indent-tabs-mode nil
js2-indent-level 4
js2-basic-offset 4)))
js2-basic-offset 4
js2-indent-switch-body t)))
(add-hook 'js2-mode-hook 'js2-imenu-extras-mode)))
(use-package skewer-mode