Commit graph

20 commits

Author SHA1 Message Date
koalp
c6afb729b9 highlights(julia): add highlight for block comments 2022-01-13 17:56:06 +01:00
Santos Gallegos
56634f49ab Update queries
- Don't use the old form for predicates
- Update some invalid queries
2021-12-22 21:17:28 +01:00
Dundar Göc
6a4fdb317d chore: fix typos 2021-11-02 23:47:48 +01:00
Sergio Alejandro Vargas
f3fab7498f Add exception handling branches 2021-07-07 21:37:18 +02:00
Sergio Alejandro Vargas
a890c81a6b Update Julia fold queries 2021-07-07 21:37:18 +02:00
Sergio Alejandro Vargas
6ec7516d3d Add Julia indent queries 2021-07-07 21:37:18 +02:00
antonk52
90f15d9bf7 feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
antonk52
bd9095e969 feat(keywords) add keyword.return & keyword.yield 2021-07-04 21:49:17 +02:00
Joakker
c699cc2e47 Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
Santos Gallegos
c1f61d4ca1
Improve check-queries (#1253)
- Add checks for injections.
- Allow queries that start with [A-Z] for highlights only.
- Don't stop on the first error, finish checking all queries.
2021-05-31 17:03:27 +00:00
Sergio Alejandro Vargas
d2a5e207b8 Add Julia queries 2021-05-16 21:26:06 +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
Stephan Seitz
eca826b703 highlights(julia): add "type"/"primitive" keyword 2021-04-23 23:18:00 +02:00
Stephan Seitz
1353292813 highlights(julia): add punctuation 2021-04-23 23:18:00 +02:00
Thomas Vigouroux
9cfd3377e3 fix(highlights): always highlight ternary operator as operator 2021-04-22 17:50:56 +02:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Dennis B
a74da044a8 Highlight Julia symbol expressions as TSSymbol 2021-03-04 06:19:40 +01:00
Stephan Seitz
14d004773f Julia highlights: Add markdown injection for docstrings 2021-01-03 19:05:02 +01:00
Stephan Seitz
dcf19d226b Add Julia highlights (coauthor: @mroavi) 2021-01-03 19:05:02 +01:00