aboutsummaryrefslogtreecommitdiffstats
path: root/queries/clojure
diff options
context:
space:
mode:
Diffstat (limited to 'queries/clojure')
-rw-r--r--queries/clojure/highlights.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm
index 243a641a5..7003ef8aa 100644
--- a/queries/clojure/highlights.scm
+++ b/queries/clojure/highlights.scm
@@ -279,8 +279,8 @@
; Correctly highlight docstrings
(list_lit
.
- (sym_lit) @a ; Don't really want to highlight twice
- (#match? @a "^def.*")
+ (sym_lit) @_keyword ; Don't really want to highlight twice
+ (#match? @_keyword "^def.*")
.
(sym_lit)
.
@@ -291,8 +291,8 @@
; Funciton definitions
(list_lit
.
- (sym_lit) @a
- (#any-of? @a "fn" "fn*" "defn" "defn-")
+ (sym_lit) @_keyword.function
+ (#any-of? @_keyword.function "fn" "fn*" "defn" "defn-")
.
(sym_lit)? @function
.