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

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

[nongnu] elpa/raku-mode cdc3a0de70 086/253: Highlight contexualizers


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode cdc3a0de70 086/253: Highlight contexualizers
Date: Sat, 29 Jan 2022 08:28:45 -0500 (EST)

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

    Highlight contexualizers
---
 perl6-font-lock.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 08f98a9dc8..c1e357b2cf 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -486,6 +486,11 @@ LIMIT can be used to bound the search."
      (2 'perl6-var-name))
     (,(perl6-rx (group symbol-start high-type) "(") 1 'perl6-type)
     (,(perl6-rx (group symbol-start identifier) "(") 1 'perl6-identifier)
+    (,(perl6-rx
+       (or (and (group-n 1 (any "$@%&")) "(")
+           (group-n 2 (symbol (or "item" "list" "hash")))))
+     (1 'perl6-operator nil t)
+     (2 'perl6-operator nil t))
     (,(perl6-rx (symbol (or low-type high-type))) 0 'perl6-type)
     (,(perl6-rx (group ":") (group (symbol identifier)))
      (1 'perl6-operator)



reply via email to

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