From 6bfd001b485dd27ba5fe3d22d27f021596dce4b8 Mon Sep 17 00:00:00 2001 From: voroskoi Date: Fri, 14 Jan 2022 15:29:24 +0100 Subject: Update zig tree-sitter (#1501) use latest upstream version move comptime from @keyword.function to @keyword.directive use AssignOp enhance indents--- runtime/queries/zig/highlights.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'runtime/queries/zig/highlights.scm') diff --git a/runtime/queries/zig/highlights.scm b/runtime/queries/zig/highlights.scm index 34dbeacd..62c99acc 100644 --- a/runtime/queries/zig/highlights.scm +++ b/runtime/queries/zig/highlights.scm @@ -144,7 +144,6 @@ field_constant: (IDENTIFIER) @constant ; VarDecl [ - "comptime" "threadlocal" "fn" ] @keyword.function @@ -178,6 +177,7 @@ field_constant: (IDENTIFIER) @constant ; PrecProc [ + "comptime" "inline" "noinline" "asm" @@ -195,15 +195,14 @@ field_constant: (IDENTIFIER) @constant (BitwiseOp) (BitShiftOp) (AdditionOp) + (AssignOp) (MultiplyOp) (PrefixOp) "*" "**" "->" - "=>" ".?" ".*" - "=" "?" ] @operator -- cgit v1.2.3-70-g09d2