mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
docs: add @keyword.coroutine
This commit is contained in:
parent
8212548e33
commit
1bf4be0441
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ effect on highlighting. We will work on improving highlighting in the near futur
|
||||||
|
|
||||||
```scheme
|
```scheme
|
||||||
@keyword ; various keywords
|
@keyword ; various keywords
|
||||||
|
@keyword.coroutine ; keywords related to coroutines (e.g. `go` in Go, `async/await` in Python)
|
||||||
@keyword.function ; keywords that define a function (e.g. `func` in Go, `def` in Python)
|
@keyword.function ; keywords that define a function (e.g. `func` in Go, `def` in Python)
|
||||||
@keyword.operator ; operators that are English words (e.g. `and` / `or`)
|
@keyword.operator ; operators that are English words (e.g. `and` / `or`)
|
||||||
@keyword.return ; keywords like `return` and `yield`
|
@keyword.return ; keywords like `return` and `yield`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue