aboutsummaryrefslogtreecommitdiffstats
path: root/queries/clojure/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/clojure/highlights.scm')
-rw-r--r--queries/clojure/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm
index c3e59496e..16824a717 100644
--- a/queries/clojure/highlights.scm
+++ b/queries/clojure/highlights.scm
@@ -73,9 +73,11 @@
; Types
;; TODO: improve?
-;; - symbols with `.` but not `/`?
((sym_lit) @type
(#match? @type "^[A-Z][^/]*$"))
+;; Symbols with `.` but not `/`
+((sym_lit) @type
+ (#match? @type "^[^/]+[.][^/]*$"))
; Interop
((sym_lit) @method