[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode 7dfe01182d 080/253: Highlight reduce operators
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode 7dfe01182d 080/253: Highlight reduce operators |
Date: |
Sat, 29 Jan 2022 08:28:44 -0500 (EST) |
branch: elpa/raku-mode
commit 7dfe01182da24d78b67a54d9eacdd8baee88eef4
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Highlight reduce operators
---
perl6-font-lock.el | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index ee0116c75d..7b801951c3 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -169,6 +169,18 @@
symbol-end)
(any ".,")
(1+ (regex "[^:\[.,[:space:][:alnum:]]")))))
+ (reduce-operator
+ . ,(rx (0+ (any "RSXZ\["))
+ (opt (any "RSXZ&"))
+ (1+ "\[")
+ (opt "\(")
+ (or (and (regex "[^[:digit:]@%$]")
+ (0+ (regex "[^\[\{\('\"[:space:]]")))
+ (and (any "@%$")
+ (regex "[^.?^=[:alpha:]]")
+ (0+ (regex "[^\[\{\('\"[:space:]]"))))
+ (opt "\)")
+ (1+ "\]")))
(low-type
. ,(rx (or "int" "int1" "int2" "int4" "int8" "int16" "int32" "int64"
"rat" "rat1" "rat2" "rat4" "rat8" "rat16" "rat32" "rat64"
@@ -448,6 +460,7 @@ GROUPS is allowed to reference optional match groups."
(defconst perl6-font-lock-keywords
`(
(perl6-match-metaoperator 0 'perl6-operator)
+ (,(perl6-rx reduce-operator) 0 'perl6-operator)
(,(perl6-rx (group (any "@$%&"))
(or
"<"
- [nongnu] elpa/raku-mode 5b9c5b29b6 179/253: List link to original author's code, (continued)
- [nongnu] elpa/raku-mode 5b9c5b29b6 179/253: List link to original author's code, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8e7ff8d726 193/253: Rename perl6-repl-other-window to perl6-repl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0d3df72743 183/253: update capability and plans, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 44faa06bba 197/253: Use comint., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9ea05bdb3e 236/253: add future desirable points in mature raku-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode fd54a7b397 231/253: add: font lock for quit, doc and close and delete start, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 155b0b7a4a 249/253: Update CHANGELOG.md, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 20610a83b5 247/253: Merge pull request #53 from phikal/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode fd286b2d1a 246/253: Remove pkg-info dependency, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode a316c3f195 240/253: Remove leftover debugging garbage, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7dfe01182d 080/253: Highlight reduce operators,
ELPA Syncer <=
- [nongnu] elpa/raku-mode 57a25ccadd 142/253: Remove commented code I accidentally left in, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7322d74a5d 169/253: Changing to my copy of cask, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode b6cca3307b 203/253: Merge pull request #25 from matiaslina/repl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode d474216840 223/253: Merge pull request #34 from hlissner/fix-autoloads, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e4d8b0230a 218/253: Merge pull request #31 from tmtvl/add-raku-to-languages-customization-group, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 77afbe21fe 232/253: Merge pull request #40 from Lenin1917/path-1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0c480bb357 238/253: Hanging assignment support, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4ee9045eeb 252/253: Bump version to have an update without pkg-info, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode d8811251af 244/253: Update changelog for v0.2.0, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 5b47a0b1a2 066/253: Deal with [-'] preceded by a non-ASII identifier character, ELPA Syncer, 2022/01/29