branch: elpa/raku-mode
commit fff97f7fb00b7baf83e4808ea82662f3ac2883d0
Author: Matias Linares <matiasl...@gmail.com>
Commit: Matias Linares <matiasl...@gmail.com>

    Raku variable names have precedence over operators
    
    This fixes issue #7
---
 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