summaryrefslogtreecommitdiff
path: root/test/completion/continue.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-24 17:36:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-24 17:36:25 +0800
commitff6a7e95e1a6be16338bcd1819b512cb36960e3b (patch)
tree891fe9bf0955a9ade03ed792297a517e3284c8cd /test/completion/continue.lua
parent46f7d5bc7af55a3d13a2f5edc70667f360b8bd4d (diff)
downloadlua-language-server-ff6a7e95e1a6be16338bcd1819b512cb36960e3b.zip
fix
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 96ec4964..a548859a 100644
--- a/test/completion/continue.lua
+++ b/test/completion/continue.lua
@@ -41,4 +41,18 @@ pro$
}
}
+TEST [[
+---@param n '"abcdefg"'
+local function f(n) end
+
+f 'abc$'
+]]
+{
+ {
+ label = "'abcdefg'",
+ kind = define.CompletionItemKind.EnumMember,
+ textEdit = EXISTS,
+ }
+}
+
ContinueTyping = false