summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-24 20:19:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-24 20:19:15 +0800
commit061c9b03686c7ae8b3dc70d491ff003258b13bf6 (patch)
tree8a845b40528af04fefb51af6e9fd894fd73b8e5e /test/completion
parent07a9279d513fe2a5787bd0b3693b42b4b573e852 (diff)
downloadlua-language-server-061c9b03686c7ae8b3dc70d491ff003258b13bf6.zip
fix
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/continue.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/completion/continue.lua b/test/completion/continue.lua
index a548859a..4159ea7a 100644
--- a/test/completion/continue.lua
+++ b/test/completion/continue.lua
@@ -55,4 +55,18 @@ f 'abc$'
}
}
+TEST [[
+---@type '"abcdefg"'
+local t
+
+if t == 'abc$'
+]]
+{
+ {
+ label = "'abcdefg'",
+ kind = define.CompletionItemKind.EnumMember,
+ textEdit = EXISTS,
+ }
+}
+
ContinueTyping = false