summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-19 01:18:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-19 01:18:40 +0800
commitbd3cd4a5d1cf8effcf8d8403372d59553245e026 (patch)
tree404ca77a7dd0ce9f7a7b0f451af80f576954c148 /test
parentf03bfa6794b0970dcfcc9043c02e541686085d3d (diff)
parente36ca2b3e0629a8f67b4b2af34e938f66661e788 (diff)
downloadlua-language-server-bd3cd4a5d1cf8effcf8d8403372d59553245e026.zip
Merge remote-tracking branch 'origin/master' into type-narrow
Diffstat (limited to 'test')
-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,
+ }
+}