Emacs: Enrich imenu in js2-mode
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -2037,6 +2037,7 @@ "Don't create a menu from js2-mode" (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)