summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-15 10:57:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-15 10:57:28 +0800
commitb576dfb1ba883fcee8a99f4213e6e7b26461fc0e (patch)
tree7591e2f8e9b1873bd64acdb0c5e13b5371288c8c /test-beta/completion/init.lua
parent1ba8eec18915f479a6a4e55bcc9c3a3d6a9721ce (diff)
downloadlua-language-server-b576dfb1ba883fcee8a99f4213e6e7b26461fc0e.zip
自动完成支持 deprecated
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 568937b1..7866ac11 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -38,6 +38,7 @@ local Cared = {
['kind'] = true,
['textEdit'] = true,
['additionalTextEdits'] = true,
+ ['deprecated'] = true,
}
function TEST(script)
@@ -1141,6 +1142,22 @@ io$
]]
(EXISTS)
+TEST [[
+debug.setcsta$
+]]
+{
+ {
+ label = 'setcstacklimit',
+ kind = CompletionItemKind.Function,
+ deprecated = true,
+ },
+ {
+ label = 'setcstacklimit()',
+ kind = CompletionItemKind.Snippet,
+ deprecated = true,
+ },
+}
+
do return end
TEST [[
---@$