From 89a3dffd8de7f55ccbe8f756b48502600fe30e26 Mon Sep 17 00:00:00 2001 From: Oliver Marshall Date: Sun, 13 Jun 2021 23:19:45 +0100 Subject: Add header comment --- queries/clojure/highlights.scm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'queries/clojure') diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index 1ec90c6fd..a935387fc 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -1,6 +1,16 @@ -;; TODO: Make comparison screenshot -;; TODO: Try out for a while -;; TODO: Tweak +;; >> Explanation +;; Parsers for lisps are a bit weird in that they just return the raw forms. +;; This means we have to do a bit of extra work in the queries to get things +;; highlighted as they should be. +;; +;; For the most part this means that some things have to be assigned multiple +;; groups. +;; By doing this we can add a basic capture and then later refine it with more +;; specialied captures. +;; This can mean that sometimes things are highlighted weirdly because they +;; have multiple highlight groups applied to them. + + ;; >> Litterals (dis_expr) @comment -- cgit v1.2.3-70-g09d2