emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/raku-mode 07b596cab6 151/253: one more tweak to catch all


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 07b596cab6 151/253: one more tweak to catch all forms of subs
Date: Sat, 29 Jan 2022 08:28:52 -0500 (EST)

branch: elpa/raku-mode
commit 07b596cab62501aee9a448055bff3969d1342883
Author: Tom Browder <tom.browder@gmail.com>
Commit: Tom Browder <tom.browder@gmail.com>

    one more tweak to catch all forms of subs
---
 perl6-imenu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl6-imenu.el b/perl6-imenu.el
index d2042895a2..0aea6caa5c 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\\|multi\\s-+sub\\|multi\\s-+method:\\)\\s-+\\(.+)\\)"
 1)
+    ("Subs/Methods" 
"^\\s-*\\(?:my\\s-+\\|our\\s-+\\)?\\(?:multi\\s-+sub\\|multi\\s-+method\\|sub\\|method\\|multi\\)\\s-+\\(.+)\\)"
 1)
     )
   "Define interesting points in the Perl 6 buffer for `imenu'.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]