blob: 96ec4964e27925015d7948235954d319106a7643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
local define = require 'proto.define'
local config = require 'config'
config.set('Lua.completion.callSnippet', 'Disable')
config.set('Lua.completion.keywordSnippet', 'Disable')
config.set('Lua.completion.workspaceWord', false)
ContinueTyping = true
TEST [[
local zabcde
za$
]]
{
{
label = 'zabcde',
kind = define.CompletionItemKind.Variable,
}
}
TEST [[
-- zabcde
io.z$
]]
{
{
label = 'zabcde',
kind = define.CompletionItemKind.Text,
}
}
TEST [[
-- provider
pro$
]]
{
{
label = 'provider',
kind = define.CompletionItemKind.Text,
}
}
ContinueTyping = false
|