From 05fe2c38a3bd4f889ac13f1735685ab348d95346 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 23 Aug 2023 14:09:30 +0300 Subject: refactor: replace some match & vim-match usages --- queries/clojure/highlights.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'queries/clojure') diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index d6b1585fd..08ca49b86 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -101,9 +101,9 @@ ; Interop ((sym_lit) @method - (#match? @method "^\\.[^-]")) + (#lua-match? @method "^[.][^-]")) ((sym_lit) @field - (#match? @field "^\\.-")) + (#lua-match? @field "^[.]-")) ((sym_lit) @field (#lua-match? @field "^[%u].*/.+")) (list_lit @@ -133,7 +133,7 @@ (#any-of? @keyword.coroutine "alts!" "alts!!" "await" "await-for" "await1" "chan" "close!" "future" "go" "sync" "thread" "timeout" "!" ">!!")) ((sym_lit) @keyword.function - (#match? @keyword.function "^(defn|defn-|fn|fn[*])$")) + (#any-of? @keyword.function "defn" "defn-" "fn" "fn*")) ; Comment ((sym_lit) @comment -- cgit v1.2.3-70-g09d2