Commit graph

30 commits

Author SHA1 Message Date
Oliver Marshall
cc8e5caaba Improve some comments 2021-09-17 21:06:36 +02:00
Oliver Marshall
f68cf9e793 Improve highlights for types 2021-09-17 21:06:36 +02:00
Oliver Marshall
d562ffcab9 Remove constant highlighting 2021-09-17 21:06:36 +02:00
Oliver Marshall
6641eee7a7 Add forgotten annon function highlight 2021-09-17 21:06:36 +02:00
Oliver Marshall
c9209f8a2c Add header comment 2021-09-17 21:06:36 +02:00
Oliver Marshall
d6aae5a7d2 Add some todos 2021-09-17 21:06:36 +02:00
Oliver Marshall
36964190f2 Add context based highlighting for def, defn & ns 2021-09-17 21:06:36 +02:00
Oliver Marshall
16a06b30c2 Revamp the symbol highlighting 2021-09-17 21:06:36 +02:00
Oliver Marshall
b8b0da006b Move meta punctuation 2021-09-17 21:06:36 +02:00
Oliver Marshall
0cf75fd96d Simplify 2021-09-17 21:06:36 +02:00
Oliver Marshall
99185fcf7d Add some comments & TODOs 2021-09-17 21:06:36 +02:00
Oliver Marshall
5b5b55f8ed First pass at def-likes 2021-09-17 21:06:36 +02:00
Oliver Marshall
da360bfd04 Match % variables 2021-09-17 21:06:36 +02:00
Oliver Marshall
7882600caa Add more operators 2021-09-17 21:06:36 +02:00
Oliver Marshall
31c54c5048 Add some TODOs 2021-09-17 21:06:36 +02:00
Oliver Marshall
19b6a84089 Highlight splicing operators 2021-09-17 21:06:36 +02:00
Oliver Marshall
171082600e All the other stuff, includes:
- Changing huge 'match's to 'any-of's
- Roughly organising the queries into sections
- Add some TODOs for more improvements
- Comment out def-like and call queries as they overlap too much
- Change the captures to use better (imo) groups
- Make with-.* and when-.* always highlight like a builtin
2021-09-17 21:06:36 +02:00
Oliver Marshall
688ec2f6a0 Reorganise slightly 2021-09-17 21:06:36 +02:00
Joakker
c699cc2e47 Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
Stephan Seitz
048317174c Clojure: Add folds.scm 2021-05-17 20:45:31 +02:00
Stephan Seitz
021196fd6c Clojure/Lisp: Add char_lit to highlights 2021-05-17 20:45:31 +02:00
Stephan Seitz
007aa7ff21 Use @symbol in clojure in commonlisp 2021-05-17 20:45:31 +02:00
Stephan Seitz
64f13eace5 Extend CL highlights 2021-05-17 20:45:31 +02:00
Stephan Seitz
e197736061 Add support for Common Lisp 2021-05-17 20:45:31 +02:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc
2021-04-28 07:19:07 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Chinmay Dalal
484e6aa680 [clojure] add punctuation.bracket 2020-11-10 18:01:12 +01:00
sogaiu
6e80f426bf Add incremental selection support 2020-11-04 10:23:20 +01:00
sogaiu
0f80b7d390 Add initial clojure support 2020-11-04 10:23:20 +01:00