summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 4a6c292a..1bbfa680 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2037,6 +2037,7 @@ it though
               (if (and (not (string-equal name "IM-Javascript-IDE"))
                        (fboundp #'do-it))
                   (do-it name)))
+            (add-hook 'js2-mode-hook #'js2-imenu-extras-mode)
             (advice-add 'imenu-add-to-menubar :around #'js2--imenu-around)
             (defun ap/js2-prev-error ()
               (interactive)