summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-14 23:11:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-14 23:11:46 +0800
commit3e486462ee3dc14bc996d553c8e456e603b762bc (patch)
tree93a4491cbba46e2b4d4087a4df9592ae5cdad0f1 /script/core
parent1af368f7c8188c2e8406a18823c4fd052c1ad685 (diff)
downloadlua-language-server-3e486462ee3dc14bc996d553c8e456e603b762bc.zip
#1207 add sample for description for LuaDoc
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion/completion.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index 285f5bf2..9e8ad03e 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -1546,6 +1546,7 @@ local function tryluaDocCate(word, results)
results[#results+1] = {
label = docType,
kind = define.CompletionItemKind.Event,
+ description = lang.script('LUADOC_DESC_' .. docType:upper())
}
end
end