Commit graph

40 commits

Author SHA1 Message Date
Saleh Bakra'a
153818c29b
kotlin: update parser and queries
Update `queries/kotlin/locals.scm` to use the the newly exposed `function_value_parameters` node.
2023-04-06 14:50:38 +02:00
Amaan Qureshi
e559b6fb3f feat(kotlin): update queries from upstream changes 2023-03-26 23:17:24 +02:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
Amaan Qureshi
33ba346e60 feat!: add @keyword.coroutine capture 2023-03-03 07:07:52 -08:00
dundargoc
4612212c72 docs: fix typos 2023-02-23 11:39:43 -08:00
Josef Litoš
a4b72d4f7f Update highlights.scm 2023-02-22 10:08:30 -08:00
Josef Litoš
3f5ff9b434 Update queries/kotlin/highlights.scm
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-02-22 10:08:30 -08:00
JosefLitos
94f3e8b069 feat(kotlin): improved highlight queries 2023-02-22 10:08:30 -08:00
ObserverOfTime
74151445d0 highlights(kotlin): fix function highlights 2023-02-12 01:21:58 -08:00
Ananda Umamil
5ac2c92060 highlights(kotlin): package keyword and declaration 2023-01-14 12:06:51 +01:00
ObserverOfTime
a16499f584 highlights(kotlin): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
9b43ab819c highlights: use @preproc where appropriate 2022-10-15 08:49:01 -07:00
ObserverOfTime
d649756f49 highlights(kotlin): add companion keyword 2022-10-15 08:12:55 -07:00
Lewis Russell
37398c7d68 feat(spell): support more languages 2022-09-26 13:47:12 +01:00
lfenzo
0014e52e2d Split func/method definition from calls in lotlin highlighting queries 2022-08-03 12:05:30 -07:00
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