branch: elpa/raku-mode
commit 7e60f137ceaed44a8a80c58e57aaad29674837f3
Author: Hinrik Örn Sigurðsson <hinrik....@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik....@gmail.com>

    Fix highlighting of some reduce ops, like [<]
---
 perl6-font-lock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 242bb735d5..e080fedf8d 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -389,7 +389,7 @@ Takes arguments START and END which delimit the region to 
propertize."
        (0 (ignore (perl6-syntax-propertize-embedded-comment))))
       ((rx "#" (0+ not-newline))
        (0 (ignore)))
-      ((perl6-rx (or set-operator rsxz-operator))
+      ((perl6-rx (or set-operator rsxz-operator reduce-operator))
        (0 (ignore (perl6-add-font-lock-hint 'perl6-metaoperator 0))))
       ((rx (1+ (char "<«")))
        (0 (ignore (perl6-syntax-propertize-angles (match-string 0)))))

Reply via email to