summaryrefslogtreecommitdiff
path: root/test/completion/continue.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion/continue.lua')
-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