From bc597025e7b50c2cd476522b8a7d4ab018aa4969 Mon Sep 17 00:00:00 2001 From: SuperAuguste Date: Wed, 13 May 2020 19:41:08 -0400 Subject: [PATCH] revert fix --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index c77f3c6..e8e96ca 100644 --- a/src/main.zig +++ b/src/main.zig @@ -225,7 +225,7 @@ fn nodeToCompletion(alloc: *std.mem.Allocator, tree: *std.zig.ast.Tree, decl: *s var doc_comments = try analysis.getDocComments(alloc, tree, decl); var doc = types.MarkupContent{ .kind = .Markdown, - .value = doc_comments, + .value = doc_comments orelse "", }; switch (decl.id) {