branch: elpa/raku-mode
commit c8e8ebe289afb1b085d813f3e6b038ae15b0f00f
Author: Tom Browder <tom.brow...@gmail.com>
Commit: Tom Browder <tom.brow...@gmail.com>

    fix the range of choices more completely
---
 perl6-imenu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl6-imenu.el b/perl6-imenu.el
index 3e30987f37..d2042895a2 100644
--- a/perl6-imenu.el
+++ b/perl6-imenu.el
@@ -8,7 +8,7 @@
   '(
     ;; the names are in reverse desired order since they are evaluated here 
last first
     ("Variables" 
"^\\s-*\\(?:my\\|our\\)\\s-+\\(\\(?:\\$\\|@\\|%\\)\\(?:[_[:alnum:]]+\\)\\)" 1)
-    ("Subs/Methods" 
"^\\s-*\\(?:my\\|our\\)\\s-+\\(?:sub\\|method\\|multi\\)\\s-+\\(.+)\\)" 1)
+    ("Subs/Methods" 
"^\\s-*\\(?:my\\|our\\)\\s-+\\(?:sub\\|method\\|multi\\|multi\\s-+sub\\|multi\\s-+method:\\)\\s-+\\(.+)\\)"
 1)
     )
   "Define interesting points in the Perl 6 buffer for `imenu'.
 

Reply via email to