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

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

[nongnu] elpa/raku-mode 44c6e42d56 044/253: Highlight basic punctuation/


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 44c6e42d56 044/253: Highlight basic punctuation/match variables
Date: Sat, 29 Jan 2022 08:28:41 -0500 (EST)

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

    Highlight basic punctuation/match variables
---
 perl6-font-lock.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index b531d5b496..22b02d99bc 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -325,6 +325,9 @@ Takes STATE, the parse state."
     (,(perl6-rx (group symbol-start rule) (1+ space) (group identifier))
      (1 'perl6-routine)
      (2 'perl6-identifier))
+    (,(rx (group "$") (group (any "0-9/!¢")))
+     (1 'perl6-sigil)
+     (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 (symbol (or low-type high-type))) 0 'perl6-type)



reply via email to

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