summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-03 21:14:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-03 21:14:41 +0800
commita7f8fb8b3bfbd3fb23d208cf789d276961a28056 (patch)
tree79b6d1e8769705168a6f9ac774a45e9c4ed5a84b /test
parentd02263bc5b827c32df554ae6f6d7eba21205d594 (diff)
downloadlua-language-server-a7f8fb8b3bfbd3fb23d208cf789d276961a28056.zip
fix completion of string
Diffstat (limited to 'test')
-rw-r--r--test/completion/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index 1377f922..37e7c255 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -1893,3 +1893,10 @@ TEST [[
if type(arg) == $
]]
(EXISTS)
+
+TEST [[
+---@type string
+local s
+s.$
+]]
+(EXISTS)