summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua25
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 [[