summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-22 19:31:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-22 19:31:58 +0800
commit8bd3d0987af29c71f5e6bfa884936dc99aa58293 (patch)
treef3894c16929912f63841384ca83e14a45cfa1fbf /test/completion
parent2cc3a207718197fc42b382bc1c82f15fdafb5ee7 (diff)
downloadlua-language-server-8bd3d0987af29c71f5e6bfa884936dc99aa58293.zip
fix #613
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index 9540eb2a..d975fa7e 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -2755,3 +2755,16 @@ local c
c:on('$')
]]
(EXISTS)
+
+TEST [[
+local m = {}
+
+function m.f()
+end
+
+m.f()
+m.$
+]]
+{
+ [1] = EXISTS,
+}