mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
Kotlin queries: Handle package statements
This commit is contained in:
parent
8b7f70d366
commit
02a0719424
2 changed files with 6 additions and 1 deletions
|
|
@ -31,6 +31,11 @@
|
|||
|
||||
"return" @keyword.return
|
||||
|
||||
(package_stmt
|
||||
"package" @include)
|
||||
(package_path
|
||||
(identifier) @namespace)
|
||||
|
||||
(return_expr
|
||||
"return@" @keyword.return
|
||||
label: (identifier) @label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue