Run zig fmt

This commit is contained in:
Alexandros Naskos 2020-06-16 15:49:57 +03:00
parent cad6b78a49
commit fd424277ab
2 changed files with 26 additions and 24 deletions

View File

@ -1051,7 +1051,9 @@ pub fn documentPositionContext(allocator: *std.mem.Allocator, document: types.Te
},
},
.Keyword_break, .Keyword_continue => curr_ctx.ctx = .pre_label,
.Colon => if (curr_ctx.ctx == .pre_label) { curr_ctx.ctx = .label; },
.Colon => if (curr_ctx.ctx == .pre_label) {
curr_ctx.ctx = .label;
},
.QuestionMark => switch (curr_ctx.ctx) {
.field_access => {},
else => curr_ctx.ctx = .empty,