branch: elpa/raku-mode
commit aa57012ec3d23d035c584f19931aa53cca2b990d
Author: Hinrik Örn Sigurðsson <[email protected]>
Commit: Hinrik Örn Sigurðsson <[email protected]>
Minor change to magic pattern
"usev6" isn't valid code.
---
perl6-detect.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/perl6-detect.el b/perl6-detect.el
index 964b4ecd8d..575ba64b5a 100644
--- a/perl6-detect.el
+++ b/perl6-detect.el
@@ -19,7 +19,7 @@
(defconst perl6-magic-pattern
(rx line-start
(0+ space)
- (or (and "use" (0+ space) "v6")
+ (or (and "use" (1+ space) "v6")
(and (opt (and (or "my" "our") (1+ space)))
(or "module" "class" "role" "grammar" "enum" "slang"
"subset")))))