diff options
| author | Eleanor Bartle <eleanor@eleanor-nb.com> | 2023-02-14 08:52:45 +1100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-02-17 14:30:42 -0800 |
| commit | 2e95d25412253199796623051ed3b70c05c41f5e (patch) | |
| tree | 1a5c09d1087a1a5555387529cb05c84b257bfe0b | |
| parent | Add spelling checks to strings and comments (diff) | |
| download | nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar.gz nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar.bz2 nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar.lz nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar.xz nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.tar.zst nvim-treesitter-2e95d25412253199796623051ed3b70c05c41f5e.zip | |
Split out `@keyword.return`
Moves `break` and `continue` to `@repeat`. Leave coroutine keywords in `@keyword.return`. I'd really like a `@keyword.coroutine`.
| -rw-r--r-- | queries/zig/highlights.scm | 4 |
1 files 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 [ |
