From 6ae23ba2d0edfcb47c582de08f1cb43a846abcb3 Mon Sep 17 00:00:00 2001 From: SuperAuguste Date: Sun, 7 Jun 2020 09:49:21 -0400 Subject: [PATCH] fix field details in completions --- src/main.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.zig b/src/main.zig index d2bdd01..f556c53 100644 --- a/src/main.zig +++ b/src/main.zig @@ -339,6 +339,7 @@ fn nodeToCompletion( .label = string, .kind = .Field, .documentation = doc, + .detail = analysis_ctx.tree().getNodeSource(node) }); }, }