revert fix

This commit is contained in:
SuperAuguste 2020-05-13 19:41:08 -04:00
parent 1a2f83d84b
commit bc597025e7

View File

@ -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_comments = try analysis.getDocComments(alloc, tree, decl);
var doc = types.MarkupContent{ var doc = types.MarkupContent{
.kind = .Markdown, .kind = .Markdown,
.value = doc_comments, .value = doc_comments orelse "",
}; };
switch (decl.id) { switch (decl.id) {