[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode b111c81c75 031/253: Move set operator regex into
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode b111c81c75 031/253: Move set operator regex into perl6-rx |
Date: |
Sat, 29 Jan 2022 08:28:36 -0500 (EST) |
branch: elpa/raku-mode
commit b111c81c75ef1ee7e83eff6e1f395f065c1645ac
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Move set operator regex into perl6-rx
---
perl6-font-lock.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index e0918727b6..6ca307b3ef 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -135,6 +135,11 @@
"gt" "eqv" "ff" "fff" "and" "andthen" "or"
"xor" "orelse" "extra" "lcm" "gcd")))
(operator-char . ,(rx (any "-+/*~?|=^!%&,<>».;\\∈∉∋∌∩∪≼≽⊂⊃⊄⊅⊆⊇⊈⊉⊍⊎⊖∅")))
+ (set-operator . ,(rx (opt "R") "\(" (or (char "-^.+|&")
+ (and (char "<>")
+ (opt (char "=+")))
+ "cont"
+ "elem") "\)"))
(low-type . ,(rx (or "int" "int1" "int2" "int4" "int8" "int16"
"int32" "int64" "rat" "rat1" "rat2" "rat4"
"rat8" "rat16" "rat32" "rat64" "buf" "buf1"
@@ -292,7 +297,7 @@ Takes arguments START and END which delimit the region to
propertize."
((rx "#`")
(0 (ignore (perl6-syntax-propertize-embedded-comment))))
;; set operators
- ((rx (opt "R") "\(" (or (char "-^.+|&") (and (char "<>") (opt (char
"=+"))) "cont" "elem") "\)")
+ ((perl6-rx set-operator)
(0 (prog1 "." (put-text-property (match-beginning 0) (match-end 0)
'font-lock-face 'perl6-operator))))
((rx (1+ (char "<«")))
- [nongnu] elpa/raku-mode 1fb8435db1 028/253: Highlight variables, (continued)
- [nongnu] elpa/raku-mode 1fb8435db1 028/253: Highlight variables, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode a82a14ceb2 019/253: Better doc string for perl6-magic-matcher, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 023eb3227b 007/253: Nullify case-fold-search for the entire function body, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 488f3386fe 020/253: Small README fix, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 09663a722d 048/253: Follow http://keepachangelog.com/, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8fd6683e06 041/253: defvar -> defconst, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode c0978dcf65 054/253: Suggest (package-refresh-contents) since this package is new, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 11891356c0 061/253: Highliht bare sigils, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 04988356e8 065/253: Don't highlight type constraints inside strings/comments, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode af61f78377 011/253: Never look at more than 4k when detecting Perl 6, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode b111c81c75 031/253: Move set operator regex into perl6-rx,
ELPA Syncer <=
- [nongnu] elpa/raku-mode 1ef289eb4d 012/253: Consider 4096 be eof when looking for the next line, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 2257deb15a 013/253: Simplify the magic matching logic, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode a94d11b812 017/253: Complete support for embedded/multiline comments, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 29b821fc44 075/253: Rename function to be more descriptive, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 0673f007b0 056/253: SMIE indenation ported from css-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 1ff189c6e7 060/253: TIL about `point-at-bol', ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 3e55db2507 069/253: Avoid highlighting X::Foo as a metaoperator, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode ae9843c53e 121/253: Actually save the syntax context with the font lock hint, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8643c07c42 108/253: Improve highlighting of postfix hyper operators, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 3cf99d162f 088/253: Treat backslashes outside strings as punctuation, ELPA Syncer, 2022/01/29