From 39d0b9b61bcf8acdbf5159d2375e3d7a2ef97670 Mon Sep 17 00:00:00 2001 From: Oliver Marshall Date: Sun, 13 Jun 2021 23:20:29 +0100 Subject: Improve highlights for types --- queries/clojure/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'queries/clojure') 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 -- cgit v1.2.3-70-g09d2