From 0ec4d69bc4e34c3c11c85d17edc0e98e9a719c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 19 Aug 2021 17:39:27 +0800 Subject: always incomplete --- test/completion/continue.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 test/completion/continue.lua (limited to 'test/completion/continue.lua') diff --git a/test/completion/continue.lua b/test/completion/continue.lua new file mode 100644 index 00000000..4644c745 --- /dev/null +++ b/test/completion/continue.lua @@ -0,0 +1,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 -- cgit v1.2.3