-
Notifications
You must be signed in to change notification settings - Fork 4
Turn on a rudimentary imenu capability #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
perl6-imenu.el
Outdated
|
||
;; Add imenu support for perl6-mode. Note that imenu-generic-expression | ||
;; is buffer-local, so we don't need a local-variable for it. | ||
(setq imenu-generic-expression perl6-imenu-generic-expression |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This expression should be moved into perl6-mode
. This expression makes no sense because both imenu-generic-expression
and imenu-case-fold-search
are buffer local variable.
I've incorporated your comments as best I can, and it still works! However, I couldn't find a way to remove this line: (add-hook 'perl6-mode-hook 'imenu-add-menubar-index) and still have a working imenu mode completely, but at least it is now in the main file with the other add-hook lines. Please comment on anything else you think needs changing. |
…e regexes a bit (no longer show sub signatures)
Added new features including index of classes, proto as type of sub, generalizing and documenting regexes better, a short test file to help develop regexes for various index items. |
Would it be worth the while to merge these in an independent repo? |
No description provided.