diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index e19cd2b1..136251c8 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1594,6 +1594,7 @@ window is active in the perspective." (setq indent-tabs-mode nil) (setq js2-indent-level 4) (setq js2-basic-offset 4))) + (add-hook 'js2-mode-hook 'js2-imenu-extras-mode) (use-package tern :commands tern-mode :ensure t