summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-03 17:54:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-03 17:54:07 +0800
commite0fc095a9531ef415023c04b3faf071631eecd95 (patch)
tree075372fb8eeebaa9268fb89345395cab06ac6530 /script/provider/provider.lua
parentb06ba33652c0c1fd9b496c81df1f252c2c614400 (diff)
downloadlua-language-server-e0fc095a9531ef415023c04b3faf071631eecd95.zip
fix `detail` disappears during continuous input
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ddab6635..fb7dbe99 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -460,6 +460,7 @@ proto.on('textDocument/completion', function (params)
local item = {
label = res.label,
kind = res.kind,
+ detail = res.detail,
deprecated = res.deprecated,
sortText = ('%04d'):format(i),
filterText = res.filterText,