Commit graph

40 commits

Author SHA1 Message Date
Stephan Seitz
b2e0472a55 highlights(clojure): use @function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
e7fe083fbc highlights(clojure): out-comment TODO query 2022-09-11 04:16:06 -07:00
Oliver Marshall
78c8c9a255
Change to using an explicit list of "def-likes" for clojure (#3202) 2022-07-20 10:42:30 +00:00
Lewis Russell
011ac894ec Prefer lua-match over match
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
Dundar Göc
6a4fdb317d chore: fix typos 2021-11-02 23:47:48 +01:00
Stephan Seitz
9e147d2356 highlights(clojure): fix highlighting of #_
Fix https://github.com/sogaiu/tree-sitter-clojure/issues/14
2021-07-25 18:06:50 +02:00
Oliver Marshall
17cf76de8a Don't capture quotes as comments 2021-07-19 16:24:01 +00:00
Oliver Marshall
036e88b94a Remove last @a 2021-07-19 16:24:01 +00:00
Oliver Marshall
e0ecd61046 Remove docstring highlights 2021-07-19 16:24:01 +00:00
Oliver Marshall
2bba92dfb0 Use ignored capture groups 2021-07-19 16:24:01 +00:00
Oliver Marshall
de5641a246 Improve some comments 2021-07-19 16:24:01 +00:00
Oliver Marshall
39d0b9b61b Improve highlights for types 2021-07-19 16:24:01 +00:00
Oliver Marshall
dd75916ef9 Remove constant highlighting 2021-07-19 16:24:01 +00:00
Oliver Marshall
9d1fe26b4d Add forgotten annon function highlight 2021-07-19 16:24:01 +00:00
Oliver Marshall
89a3dffd8d Add header comment 2021-07-19 16:24:01 +00:00
Oliver Marshall
78190687be Add some todos 2021-07-19 16:24:01 +00:00
Oliver Marshall
2403f3a8de Add context based highlighting for def, defn & ns 2021-07-19 16:24:01 +00:00
Oliver Marshall
1099809d70 Revamp the symbol highlighting 2021-07-19 16:24:01 +00:00
Oliver Marshall
54e4a59fa7 Move meta punctuation 2021-07-19 16:24:01 +00:00
Oliver Marshall
e5ba6de3a3 Simplify 2021-07-19 16:24:01 +00:00
Oliver Marshall
4390cbffd5 Add some comments & TODOs 2021-07-19 16:24:01 +00:00
Oliver Marshall
336206e380 First pass at def-likes 2021-07-19 16:24:01 +00:00
Oliver Marshall
91e0fc6719 Match % variables 2021-07-19 16:24:01 +00:00
Oliver Marshall
8219dbbdbe Add more operators 2021-07-19 16:24:01 +00:00
Oliver Marshall
a9863864a8 Add some TODOs 2021-07-19 16:24:01 +00:00
Oliver Marshall
e26009b7f4 Highlight splicing operators 2021-07-19 16:24:01 +00:00
Oliver Marshall
2c67ca51a5 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-07-19 16:24:01 +00:00
Oliver Marshall
5885256549 Reorganise slightly 2021-07-19 16:24:01 +00: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