From bfb96d951b40ac8bff2b9bc8e565d908eaae78fd Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Fri, 2 Oct 2020 15:01:49 +0300 Subject: [PATCH] Fixed prefix op semantic tokens --- src/semantic_tokens.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/semantic_tokens.zig b/src/semantic_tokens.zig index bf578f3..a180cdc 100644 --- a/src/semantic_tokens.zig +++ b/src/semantic_tokens.zig @@ -743,6 +743,7 @@ fn writeNodeTokens(builder: *Builder, arena: *std.heap.ArenaAllocator, store: *D .Try, .Await, .Resume => .keyword, else => .operator, }; + try writeToken(builder, prefix_op.op_token, tok_type); try await @asyncCall(child_frame, {}, writeNodeTokens, .{ builder, arena, store, prefix_op.rhs }); }, else => {},