summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-02 10:43:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-02 10:43:48 +0800
commit9af004f6987221ea92f77118c18996d8d43ee672 (patch)
tree072921d375d7453b1f135c7fa4cbfbbfaa4fa4ce /test-beta
parenta22c1b083cc0336c21a0ef5c153ecd6cd36b7d6e (diff)
downloadlua-language-server-9af004f6987221ea92f77118c18996d8d43ee672.zip
修正自动完成的一个bug
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/completion/init.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 57e23f63..58104a40 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -417,6 +417,18 @@ TEST [[
]]
(EXISTS)
+TEST [[
+local zzz
+
+return 'aa' .. zz$
+]]
+{
+ {
+ label = 'zzz',
+ kind = define.CompletionItemKind.Variable,
+ },
+}
+
TEST 'local s = "a:$"' (nil)
TEST 'debug.$'