Commit graph

25 commits

Author SHA1 Message Date
Sal Bakraa
a2629ebcc0 fix(kotlin): use _import for type captures 2022-01-08 20:01:00 +01:00
Sal Bakraa
b963e9f994 fix(kotlin): use @attribute instead of @annotation 2022-01-08 20:01:00 +01:00
Sal Bakraa
f92d11cdee fix(kotlin): use correct node for when expression folds 2022-01-08 20:01:00 +01:00
Sal Bakraa
d163f20617 fix(kotlin): fix typo in locals query 2022-01-08 20:01:00 +01:00
Sal Bakraa
2a50ac94bb feat(kotlin): include a folds and a locals query 2022-01-08 20:01:00 +01:00
Sal Bakraa
886ae5b87e fix(kotlin): include regex in injections query 2022-01-08 20:01:00 +01:00
Sal Bakraa
5cfc96effe fix(kotlin): update highlights query to match new parser 2022-01-08 20:01:00 +01:00
Joaquín León
02a0719424 Kotlin queries: Handle package statements 2021-09-18 00:13:19 +02:00
Joakker
16a4da493c New kotlin parser 2021-09-15 12:47:03 +02:00
Sergio Alejandro Vargas
820b4a9c21 Use @keyword.function consistently 2021-07-06 00:53:40 +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
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
Tormod Alf Try Tufteland
db67f5e517 attribute in stead of annotation 2021-03-20 17:52:07 +01:00
Tormod Alf Try Tufteland
8b4b07c55b kotlin: updated parser, and added annotation highlight again 2021-03-20 17:52:07 +01:00
Stephan Seitz
2cd1eb6e2a Update Kotlin parser 2021-03-16 18:52:43 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Tormod Alf Try Tufteland
a8438b8bbf stricter regex kotlin constants 2020-12-20 22:59:40 +01:00
Tormod Alf Try Tufteland
855df2d0cc type and identifer defaults. fixed const keyword 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
e63f81ec0a @annotation -> @attribute 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
c071454a18 add more builtin functions 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
18fadcfd4b add readme and more correct highlight captures 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
558d938c2e move divide to punctiation.special 2020-12-06 15:08:51 +01:00
Tormod Alf Try Tufteland
d90a4621a3 add kotlin parser and highligh-queries 2020-12-06 15:08:51 +01:00