branch: elpa/raku-mode
commit 6fc7de3a0271c112dd453dfe11ef604c3d10aadc
Author: Tom Browder <[email protected]>
Commit: GitHub <[email protected]>
recognize a "state" variable
---
perl6-imenu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/perl6-imenu.el b/perl6-imenu.el
index 075b6347a8..122c57016b 100644
--- a/perl6-imenu.el
+++ b/perl6-imenu.el
@@ -30,7 +30,7 @@
(defvar perl6-vars-regex
(concat
"^\\s-*" ; leading ws allowed
- "\\(?:my\\|our\\)\\s-+" ; scope of var, followed by mandatory ws
+ "\\(?:my\\|our\\|state\\)\\s-+" ; scope of var, followed by mandatory ws
"\\(" ; start capture group 1 for the var name
"\\(?:\\$\\|@\\|%\\)" ; sigil for type of var
"\\(?:" ; start shy group for choice of one type name