summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-26 17:09:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-26 17:09:08 +0800
commit5a46cba0367512b65322bf64125d5b9661c869bd (patch)
treeb84e4b80fcc93db425d0e7670eaa0890b768573b /server/test/crossfile
parent05aabcc4c4f731bd7df2bcee03d1d51fda6aab45 (diff)
downloadlua-language-server-5a46cba0367512b65322bf64125d5b9661c869bd.zip
自动完成哈希表的键
Diffstat (limited to 'server/test/crossfile')
-rw-r--r--server/test/crossfile/completion.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua
index 7d4513ba..e35874b3 100644
--- a/server/test/crossfile/completion.lua
+++ b/server/test/crossfile/completion.lua
@@ -117,15 +117,15 @@ TEST {
completion = {
{
label = 'abc',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
{
label = 'abc.aaa',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
{
label = 'abcde',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
}
}
@@ -143,7 +143,7 @@ TEST {
completion = {
{
label = 'abc',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
}
}
@@ -165,7 +165,7 @@ TEST {
completion = {
{
label = 'abc.init',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
}
}
@@ -187,7 +187,7 @@ TEST {
completion = {
{
label = 'abc.init',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
}
}
@@ -209,11 +209,11 @@ TEST {
completion = {
{
label = 'x111',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
{
label = 'x000',
- kind = CompletionItemKind.Module,
+ kind = CompletionItemKind.File,
},
}
}