Split out @keyword.return

Moves `break` and `continue` to `@repeat`. Leave coroutine keywords in `@keyword.return`. I'd really like a `@keyword.coroutine`.
This commit is contained in:
Eleanor Bartle 2023-02-14 08:52:45 +11:00 committed by Stephan Seitz
parent 9a0e095eba
commit 2e95d25412

View file

@ -111,8 +111,6 @@ field_constant: (IDENTIFIER) @constant
[
"return"
"break"
"continue"
"async"
"await"
"suspend"
@ -128,6 +126,8 @@ field_constant: (IDENTIFIER) @constant
[
"for"
"while"
"break"
"continue"
] @repeat
[