diff options
| author | Oliver Marshall <olivershawmarshall@gmail.com> | 2021-06-13 23:19:45 +0100 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-07-19 16:24:01 +0000 |
| commit | 89a3dffd8de7f55ccbe8f756b48502600fe30e26 (patch) | |
| tree | 9450e89c2f45eab26bf18b61c5135c38cea6eaa0 /queries/clojure | |
| parent | Add some todos (diff) | |
| download | nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar.gz nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar.bz2 nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar.lz nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar.xz nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.tar.zst nvim-treesitter-89a3dffd8de7f55ccbe8f756b48502600fe30e26.zip | |
Add header comment
Diffstat (limited to 'queries/clojure')
| -rw-r--r-- | queries/clojure/highlights.scm | 16 |
1 files changed, 13 insertions, 3 deletions
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 |
