summaryrefslogtreecommitdiff
path: root/server/test/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-07 11:05:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-07 11:05:09 +0800
commit285c7a640cd076455b7a04799fe0fbf9f242d129 (patch)
tree376d4931e336bb0ab198ad3feaa8369f7b432871 /server/test/completion/init.lua
parentaeb55a1183916355774b7843fd6dfb6023567a40 (diff)
downloadlua-language-server-285c7a640cd076455b7a04799fe0fbf9f242d129.zip
更新自动完成
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r--server/test/completion/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index cc2c36be..2dba35bc 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -361,6 +361,7 @@ local t = {
}
TEST [[
+print(ff2)
local faa
local f@
print(fff)
@@ -375,6 +376,10 @@ print(fff)
kind = CompletionItemKind.Keyword,
},
{
+ label = 'ff2',
+ kind = CompletionItemKind.Text,
+ },
+ {
label = 'faa',
kind = CompletionItemKind.Text,
},