summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-22 19:18:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-22 19:18:05 +0800
commitbf8396b4718aec850a1c1b82428f3d7c0fb5e96f (patch)
tree8b251b1e2cb2dc0ccae1ab67d3f373dfbe98ad46 /script/core
parent3981f28e23e1e7f4fb4cf44695490f0ce929a870 (diff)
downloadlua-language-server-bf8396b4718aec850a1c1b82428f3d7c0fb5e96f.zip
Revert "fix #400 dont show description of interface"
This reverts commit 99b2d0ee4994aceefca8911f8f9ec18a977aa909.
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index fe6ff2ef..8780c215 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -1408,6 +1408,7 @@ local function checkTableLiteralField(ast, text, offset, call, funcs, index, res
id = stack(function ()
return {
detail = buildDetail(field),
+ description = buildDesc(field),
}
end),
}