summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-11 17:18:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-11 17:18:59 +0800
commitd9048f6219277534d20669fbfd77d62bb572000e (patch)
tree2859d7fc126a4cc713dbd0fbbef58833b7893368 /test-beta/completion/init.lua
parentb07c6d80e23dea035853b89d22513d73df1aadbc (diff)
downloadlua-language-server-d9048f6219277534d20669fbfd77d62bb572000e.zip
自动完成支持 . 与 : 扩展field
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 36e9b9e4..579d5ebb 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -298,12 +298,10 @@ t.$
{
label = 'a',
kind = CompletionItemKind.Field,
- detail = EXISTS,
},
{
label = 'b',
kind = CompletionItemKind.Field,
- detail = EXISTS,
},
}
@@ -316,12 +314,10 @@ t. $
{
label = 'a',
kind = CompletionItemKind.Field,
- detail = EXISTS,
},
{
label = 'b',
kind = CompletionItemKind.Field,
- detail = EXISTS,
},
}
@@ -335,15 +331,10 @@ t:$
{
label = 'b',
kind = CompletionItemKind.Method,
- documentation = EXISTS,
- detail = EXISTS,
},
{
label = 'b()',
kind = CompletionItemKind.Snippet,
- documentation = EXISTS,
- detail = EXISTS,
- insertText = EXISTS,
},
}
@@ -358,20 +349,6 @@ xxx()
{
label = 'a',
kind = CompletionItemKind.Field,
- detail = EXISTS,
- },
- {
- label = 'xxx',
- kind = CompletionItemKind.Function,
- documentation = EXISTS,
- detail = EXISTS,
- },
- {
- label = 'xxx()',
- kind = CompletionItemKind.Snippet,
- documentation = EXISTS,
- detail = EXISTS,
- insertText = EXISTS,
},
}