diff options
Diffstat (limited to 'queries/clojure')
| -rw-r--r-- | queries/clojure/highlights.scm | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
