blob: 4644c745ab335cb71b81b32814336ec5b05608ab (
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
|
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,
}
}
ContinueTyping = false
|