summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-11 11:01:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-11 11:01:15 +0800
commit152eb100b8cf9fdb5eb26b7ab4ee22cf86c8c6dc (patch)
tree3d3e98368b037c70e1b6f8d52db38b3c2a1a4711 /test-beta
parent7c16a16e9f84fcf08adf7e704a86df1c10b4ece2 (diff)
downloadlua-language-server-152eb100b8cf9fdb5eb26b7ab4ee22cf86c8c6dc.zip
修正不显示库函数描述的问题
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/completion/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 228c4e78..e6f740c4 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -41,6 +41,7 @@ function TEST(script)
files.setText('', new_script)
local result = core.completion('', pos)
for _, item in ipairs(result) do
+ core.resolve(item.id)
for k in pairs(item) do
if k ~= 'label' and k ~= 'kind' then
item[k] = nil