mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -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
|
|
@ -120,7 +120,7 @@
|
|||
"revision": "12ea597262125fc22fd2e91aa953ac69b19c26ca"
|
||||
},
|
||||
"kotlin": {
|
||||
"revision": "f638a09a6db03c58e6324b1999cb59b9d17f8907"
|
||||
"revision": "39841d5e7ec999fd80534ee806ac89446b0d6b42"
|
||||
},
|
||||
"latex": {
|
||||
"revision": "2c0d03a36ee979bc697f6a9dd119174cf0ef15e0"
|
||||
|
|
|
|||
|
|
@ -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