mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
Add some TODOs
This commit is contained in:
parent
19b6a84089
commit
31c54c5048
1 changed files with 5 additions and 2 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
(regex_lit) @string.regex
|
(regex_lit) @string.regex
|
||||||
|
|
||||||
|
;; TODO: Quote whole quoted symbol?
|
||||||
(quoting_lit
|
(quoting_lit
|
||||||
marker: "'" @string.escape)
|
marker: "'" @string.escape)
|
||||||
|
|
||||||
|
|
@ -40,7 +41,9 @@
|
||||||
|
|
||||||
;; >> Symbols
|
;; >> Symbols
|
||||||
|
|
||||||
;; metadata experiment
|
;; metadata
|
||||||
|
;; TODO: Mark whole meta tag?
|
||||||
|
;; TODO: If not, handle java classes?
|
||||||
(meta_lit
|
(meta_lit
|
||||||
marker: "^" @punctuation.special)
|
marker: "^" @punctuation.special)
|
||||||
|
|
||||||
|
|
@ -65,6 +68,7 @@
|
||||||
|
|
||||||
|
|
||||||
;; >> Functions
|
;; >> Functions
|
||||||
|
;; TODO: Enforce function-like things are the first thing in a list?
|
||||||
|
|
||||||
;; def-like things
|
;; def-like things
|
||||||
;; TODO
|
;; TODO
|
||||||
|
|
@ -122,7 +126,6 @@
|
||||||
((sym_lit) @function.macro
|
((sym_lit) @function.macro
|
||||||
(#match? @function.macro "^with\\-.*$"))
|
(#match? @function.macro "^with\\-.*$"))
|
||||||
|
|
||||||
|
|
||||||
;; clojure.core=> (cp/pprint (sort (keep (fn [[s v]] (when-not (:macro (meta v)) s)) (ns-publics *ns*))))
|
;; clojure.core=> (cp/pprint (sort (keep (fn [[s v]] (when-not (:macro (meta v)) s)) (ns-publics *ns*))))
|
||||||
;; ...and then some manual filtering...
|
;; ...and then some manual filtering...
|
||||||
((sym_lit) @function.builtin
|
((sym_lit) @function.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue