branch: elpa/raku-mode commit 43fd5628254754bee41575a55a7d1c7ad79837fa Merge: d474216840 fff97f7fb0 Author: Matias Linares <matiasl...@gmail.com> Commit: GitHub <nore...@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