summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-28 12:03:44 +0800
committersumneko <sumneko@hotmail.com>2019-04-28 12:03:44 +0800
commite815cc9495f15baa259e22d8a9d83b037f5cb831 (patch)
treee174afbf79055251bb82deb282baaf9a22d407f2 /server/test
parente6252422506c45dfb4c583ca2438cc090ea4a282 (diff)
downloadlua-language-server-e815cc9495f15baa259e22d8a9d83b037f5cb831.zip
修正一些bug
Diffstat (limited to 'server/test')
-rw-r--r--server/test/completion/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 21a80509..9d8477f7 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -776,6 +776,22 @@ else$
}
TEST [[
+local xpcal
+xpcal$
+]]
+{
+ {
+ label = 'xpcal',
+ kind = CompletionItemKind.Variable,
+ },
+ {
+ label = 'xpcall',
+ kind = CompletionItemKind.Function,
+ documentation = EXISTS,
+ }
+}
+
+TEST [[
---@$
]]
(EXISTS)