aboutsummaryrefslogtreecommitdiffstats
path: root/queries/clojure
diff options
context:
space:
mode:
authorOliver Marshall <olivershawmarshall@gmail.com>2021-06-05 01:06:21 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-07-19 16:24:01 +0000
commita9863864a8a37c1438627a0ebe8fea46f7788518 (patch)
treec450fcf9ae26c2f914a3c2c5037e692e5166a315 /queries/clojure
parentHighlight splicing operators (diff)
downloadnvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar.gz
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar.bz2
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar.lz
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar.xz
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.tar.zst
nvim-treesitter-a9863864a8a37c1438627a0ebe8fea46f7788518.zip
Add some TODOs
Diffstat (limited to 'queries/clojure')
-rw-r--r--queries/clojure/highlights.scm7
1 files changed, 5 insertions, 2 deletions
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