fix field details in completions

This commit is contained in:
SuperAuguste 2020-06-07 09:49:21 -04:00
parent ee0eb898ca
commit 6ae23ba2d0

View File

@ -339,6 +339,7 @@ fn nodeToCompletion(
.label = string, .label = string,
.kind = .Field, .kind = .Field,
.documentation = doc, .documentation = doc,
.detail = analysis_ctx.tree().getNodeSource(node)
}); });
}, },
} }