[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode 032fa40e1b 068/253: Highlight [RSXZ] metaoperato
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode 032fa40e1b 068/253: Highlight [RSXZ] metaoperators |
Date: |
Sat, 29 Jan 2022 08:28:43 -0500 (EST) |
branch: elpa/raku-mode
commit 032fa40e1b8a6a1443b39c2e6ff26d08a46ac132
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Highlight [RSXZ] metaoperators
---
perl6-font-lock.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 3ad6a33395..a55acd07a5 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -142,6 +142,17 @@
(opt (char "=+")))
"cont"
"elem") "\)"))
+ (rsxz-operator
+ . ,(rx
+ symbol-start
+ (any "RSXZ")
+ (or (and (or "div" "mod" "gcd" "lcm" "xx" "x" "does" "but" "cmp"
+ "leg" "eq" "ne" "gt" "ge" "lt" "le" "before" "after"
+ "eqv" "min" "max" "not" "so" "andthen" "and" "or"
+ "orelse")
+ symbol-end)
+ (any ".,")
+ (1+ (regex "[^\[.,[:space:][:alnum:]]")))))
(low-type . ,(rx (or "int" "int1" "int2" "int4" "int8" "int16"
"int32" "int64" "rat" "rat1" "rat2" "rat4"
"rat8" "rat16" "rat32" "rat64" "buf" "buf1"
@@ -310,6 +321,9 @@ Takes arguments START and END which delimit the region to
propertize."
;; set operators
((perl6-rx set-operator)
(0 (prog1 "." (perl6-syntax-propertize-match 'perl6-metaoperator 0))))
+ ;; [RSXZ] metaoperators
+ ((perl6-rx rsxz-operator)
+ (0 (ignore (perl6-syntax-propertize-match 'perl6-metaoperator 0))))
((rx (1+ (char "<«")))
(0 (ignore (perl6-syntax-propertize-angles (match-string 0))))))
start end)))
- [nongnu] elpa/raku-mode 7d006af233 187/253: Simple perl6/raku repl, (continued)
- [nongnu] elpa/raku-mode 7d006af233 187/253: Simple perl6/raku repl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9cbd9b26f9 168/253: Merge branch 'patch-1' of https://github.com/Altai-man/perl6-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4ad9987e25 185/253: add TODO note for HEREDOC indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8f6804ad17 207/253: Merge pull request #26 from matiaslina/raku-rename, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0dd62e4d1f 217/253: Add missing 's' to parent customization group name., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 13ebcd87ce 220/253: trivial change Perl 6 to Raku, plus temp change of URL meanwhile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 98db56c6ec 212/253: Add some clarifying comments., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode acc516e76d 225/253: Uncomment code blocks in POD., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 341c898848 029/253: Add note about electricity, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e7a3770427 008/253: Recommend `:defer t` with use-package, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 032fa40e1b 068/253: Highlight [RSXZ] metaoperators,
ELPA Syncer <=
- [nongnu] elpa/raku-mode e8111ebbdf 106/253: Factor metaoperator regex into a reusable part, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode bfccfac15a 090/253: Alter priority of metaoperator highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode d9682fb331 098/253: Highlight regex/rule/token even when not followed by an identifier, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0f053e21f2 146/253: now have a working solution for an Index imenu for subs and vars, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 14073feeb0 161/253: Don't highlight hyperops starting with << and «« as strings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0bd2a09663 153/253: add vars moved from perl6-imenu.el per comments from syohex, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4f1e2928d2 158/253: add more generalization with more defined regexes, remove commented out old code, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode aa3a58e4c5 162/253: "Map" type highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 4867c6d268 181/253: add example state var, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0d2dfb04c1 178/253: Remove pointer to original repo's bug tracker, ELPA Syncer, 2022/01/29