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

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

[nongnu] elpa/raku-mode 43fd562825 227/253: Merge pull request #36 from


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 43fd562825 227/253: Merge pull request #36 from matiaslina/dont-highlight-operators-in-variables
Date: Sat, 29 Jan 2022 08:29:01 -0500 (EST)

branch: elpa/raku-mode
commit 43fd5628254754bee41575a55a7d1c7ad79837fa
Merge: d474216840 fff97f7fb0
Author: Matias Linares <matiaslina@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #36 from matiaslina/dont-highlight-operators-in-variables
    
    Raku variable names have precedence over operators
---
 raku-font-lock.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/raku-font-lock.el b/raku-font-lock.el
index 65f17c392b..dd10f85ffc 100644
--- a/raku-font-lock.el
+++ b/raku-font-lock.el
@@ -536,8 +536,6 @@ LIMIT can be used to bound the search."
 
 (defconst raku-font-lock-keywords
   `(
-    ;; (-) R=> [*] X~ »+«
-    (raku-match-metaoperator 0 'raku-operator)
     ;; placeholder sigils
     (,(raku-rx (group (any "@$%&"))
                 (or
@@ -551,6 +549,8 @@ LIMIT can be used to bound the search."
      (2 'raku-twigil)
      (3 'raku-var-package)
      (4 'raku-var-name))
+    ;; (-) R=> [*] X~ »+«
+    (raku-match-metaoperator 0 'raku-operator)
     ;; v6.0.0
     (,(raku-rx symbol-start version) 0 'raku-version)
     ;; e.g. $foo is cached



reply via email to

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