summaryrefslogtreecommitdiff
path: root/server/test/completion/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r--server/test/completion/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 65fd17e5..e34789bd 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -525,3 +525,14 @@ xx@
kind = CompletionItemKind.Text,
},
}
+
+TEST [[
+local index
+tbl[ind@]
+]]
+{
+ {
+ label = 'index',
+ kind = CompletionItemKind.Variable,
+ },
+}