From 2e95d25412253199796623051ed3b70c05c41f5e Mon Sep 17 00:00:00 2001 From: Eleanor Bartle Date: Tue, 14 Feb 2023 08:52:45 +1100 Subject: Split out `@keyword.return` Moves `break` and `continue` to `@repeat`. Leave coroutine keywords in `@keyword.return`. I'd really like a `@keyword.coroutine`. --- queries/zig/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/zig/highlights.scm b/queries/zig/highlights.scm index d459314a4..e3e91dc65 100644 --- a/queries/zig/highlights.scm +++ b/queries/zig/highlights.scm @@ -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 [ -- cgit v1.2.3-70-g09d2