diff options
author | Alan Pearce | 2017-04-28 10:43:50 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-28 10:43:50 +0200 |
commit | e305d934ff13af38caebfa7c8b69591e09a07ae7 (patch) | |
tree | 3e1f890a2251dc1fa775e0022e633a19b2688967 /emacs | |
parent | 0979ef5aa493053686876261bf9e3b01b055af6a (diff) | |
download | dotfiles-e305d934ff13af38caebfa7c8b69591e09a07ae7.tar.lz dotfiles-e305d934ff13af38caebfa7c8b69591e09a07ae7.tar.zst dotfiles-e305d934ff13af38caebfa7c8b69591e09a07ae7.zip |
Emacs: Enrich imenu in js2-mode
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 4a6c292..1bbfa68 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) |