From a9863864a8a37c1438627a0ebe8fea46f7788518 Mon Sep 17 00:00:00 2001 From: Oliver Marshall Date: Sat, 5 Jun 2021 01:06:21 +0100 Subject: Add some TODOs --- queries/clojure/highlights.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'queries/clojure') diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm index bf7dbb054..20100a33c 100644 --- a/queries/clojure/highlights.scm +++ b/queries/clojure/highlights.scm @@ -18,6 +18,7 @@ (regex_lit) @string.regex +;; TODO: Quote whole quoted symbol? (quoting_lit marker: "'" @string.escape) @@ -40,7 +41,9 @@ ;; >> Symbols -;; metadata experiment +;; metadata +;; TODO: Mark whole meta tag? +;; TODO: If not, handle java classes? (meta_lit marker: "^" @punctuation.special) @@ -65,6 +68,7 @@ ;; >> Functions +;; TODO: Enforce function-like things are the first thing in a list? ;; def-like things ;; TODO @@ -122,7 +126,6 @@ ((sym_lit) @function.macro (#match? @function.macro "^with\\-.*$")) - ;; clojure.core=> (cp/pprint (sort (keep (fn [[s v]] (when-not (:macro (meta v)) s)) (ns-publics *ns*)))) ;; ...and then some manual filtering... ((sym_lit) @function.builtin -- cgit v1.2.3-70-g09d2