mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -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
|
|
@ -143,11 +143,19 @@
|
|||
"template"
|
||||
"typename"
|
||||
"using"
|
||||
"co_await"
|
||||
"concept"
|
||||
"requires"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"co_await"
|
||||
] @keyword.coroutine
|
||||
|
||||
[
|
||||
"co_yield"
|
||||
"co_return"
|
||||
] @keyword.coroutine.return
|
||||
|
||||
[
|
||||
"public"
|
||||
"private"
|
||||
|
|
@ -156,11 +164,6 @@
|
|||
"final"
|
||||
] @type.qualifier
|
||||
|
||||
[
|
||||
"co_yield"
|
||||
"co_return"
|
||||
] @keyword.return
|
||||
|
||||
[
|
||||
"new"
|
||||
"delete"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue