Fix empty comments

This commit is contained in:
SuperAuguste 2020-05-13 19:40:34 -04:00
parent b182eec37f
commit 1a2f83d84b

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 = types.MarkupContent{
.kind = .Markdown,
.value = doc_comments orelse "",
.value = doc_comments,
};
switch (decl.id) {