diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 20:24:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 20:24:58 +0800 |
commit | d84b3137321e6d61e165b8450236c879aee6360f (patch) | |
tree | f5b8ecb9a68567cc39af2b5afb791066b0b65698 /test/completion/common.lua | |
parent | 6cbd142a48eec2eff2ffdc02a7bbf7b7ee6f0152 (diff) | |
download | lua-language-server-d84b3137321e6d61e165b8450236c879aee6360f.zip |
completion: improve misspelling results
Diffstat (limited to 'test/completion/common.lua')
-rw-r--r-- | test/completion/common.lua | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index f2bbe542..b3a2a36a 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -4,6 +4,7 @@ local config = require 'config' config.set('Lua.completion.callSnippet', 'Both') config.set('Lua.completion.keywordSnippet', 'Both') config.set('Lua.completion.workspaceWord', false) +config.set('Lua.completion.showWord', 'Enable') TEST [[ local zabcde @@ -215,14 +216,6 @@ loc$ label = 'local function', kind = define.CompletionItemKind.Snippet, }, - { - label = 'collectgarbage(opt, ...)', - kind = define.CompletionItemKind.Function, - }, - { - label = 'collectgarbage(opt, ...)', - kind = define.CompletionItemKind.Snippet, - }, } IgnoreFunction = true @@ -1443,22 +1436,6 @@ end label = 'type', kind = define.CompletionItemKind.Event, }, - { - label = 'return', - kind = define.CompletionItemKind.Event, - }, - { - label = 'deprecated', - kind = define.CompletionItemKind.Event, - }, - { - label = 'meta', - kind = define.CompletionItemKind.Event, - }, - { - label = 'diagnostic', - kind = define.CompletionItemKind.Event, - } } TEST [[ |