mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
feat!: add @keyword.coroutine capture
This commit is contained in:
parent
1bf4be0441
commit
33ba346e60
17 changed files with 137 additions and 78 deletions
|
|
@ -22,7 +22,6 @@
|
|||
(function_declaration (simple_identifier) @method)
|
||||
(function_declaration ["init" @constructor])
|
||||
(throws) @keyword
|
||||
"async" @keyword
|
||||
(where_keyword) @keyword
|
||||
(parameter external_name: (simple_identifier) @parameter)
|
||||
(parameter name: (simple_identifier) @parameter)
|
||||
|
|
@ -47,6 +46,11 @@
|
|||
"some"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"async"
|
||||
"await"
|
||||
] @keyword.coroutine
|
||||
|
||||
[
|
||||
(getter_specifier)
|
||||
(setter_specifier)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue