[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/raku-mode e7370bed3a 144/253: Fix bug overly eager highlig
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/raku-mode e7370bed3a 144/253: Fix bug overly eager highlighting of sub/macro/etc |
Date: |
Sat, 29 Jan 2022 08:28:50 -0500 (EST) |
branch: elpa/raku-mode
commit e7370bed3a69380fac244210e53c48b57116faa2
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Fix bug overly eager highlighting of sub/macro/etc
---
perl6-font-lock.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 019b8507b8..a1d9160bbf 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -566,16 +566,14 @@ LIMIT can be used to bound the search."
(1 'perl6-string)
(2 'perl6-operator))
;; "proto foo", "proto sub foo", etc
- (,(perl6-rx symbol-start
- (group pre-declare)
- (opt (1+ space) (group declare))
+ (,(perl6-rx (group (symbol pre-declare))
+ (opt (1+ space) (group (symbol declare)))
(opt (1+ space) (group identifier)))
(1 'perl6-declare)
(2 'perl6-declare nil t)
(3 'perl6-identifier nil t))
;; "sub foo"
- (,(perl6-rx symbol-start
- (group declare)
+ (,(perl6-rx (group (symbol declare))
(opt (1+ space) (group identifier)))
(1 'perl6-declare)
(2 'perl6-identifier nil t))
- [nongnu] elpa/raku-mode 73c35c089b 241/253: Remove an unnecessary (progn) that I missed., (continued)
- [nongnu] elpa/raku-mode 73c35c089b 241/253: Remove an unnecessary (progn) that I missed., ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode eaac071f17 251/253: Correct PR merge date, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 03ade8f04d 071/253: Highlight all other kinds of numbers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 9963ed20da 051/253: Use consistent Markdown headings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e22ed63495 072/253: Indentation change, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 95382a81fb 057/253: Merge pull request #1 from andreoss/indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode cdc3a0de70 086/253: Highlight contexualizers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode b1b5cfde21 105/253: Add some comments to perl6-syntax-propertize, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 69666bfb10 084/253: Don't highlight digits in identifiers as numbers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 8f230b887f 152/253: remove user option per syohex's comment, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode e7370bed3a 144/253: Fix bug overly eager highlighting of sub/macro/etc,
ELPA Syncer <=
- [nongnu] elpa/raku-mode 298b6bb51c 156/253: add a test file for aiding regex development, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 85ff9ecd0e 205/253: Library rename from perl6-mode to raku-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode f0b6adcb74 239/253: Add hanging hash assignment to smie test file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 3f33ca3db8 243/253: Merge pull request #48 from RomanHargrave/fix-smie-hanging-indent, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode ef229addc0 250/253: Update CHANGELOG.md, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 6f3c29a29c 004/253: Add back the filename constraint, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 7141debae2 101/253: Highlight ':' twigil, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 33e699c109 087/253: More conservative reduce-operator highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode a2cc73f0d8 130/253: Improve matching of '«' and '<' strings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/raku-mode 86c5f989e2 129/253: Remove redundant code, ELPA Syncer, 2022/01/29