summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-19 01:07:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-19 01:07:28 +0800
commit7657fefe4ab5b6ba7dcb7df7e766c115afa25787 (patch)
treeb15683169147dc7b27884139cf700989e027c128 /test/completion
parente699faf8b1da8235805b13dc4c6d5a39629c70a6 (diff)
downloadlua-language-server-7657fefe4ab5b6ba7dcb7df7e766c115afa25787.zip
fix #3.1.1
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index 538ac401..1fc37bb5 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -3311,3 +3311,16 @@ TEST [[
end
assert(count == 1)
end)
+
+TEST [[
+local x
+x.y.z = xxx
+
+x.y.<??>
+]]
+{
+ {
+ label = 'z',
+ kind = define.CompletionItemKind.Field,
+ }
+}