summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-09 17:35:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-09 17:35:59 +0800
commit3267981ad105830ba115300597b449c047e12b09 (patch)
treef6d3fc267b0a7d4d95b2b4961a359c102f881392 /test-beta/completion/init.lua
parent5f2417d1e23cbcf6c2d1b6bf5c488c7b99a2b628 (diff)
downloadlua-language-server-3267981ad105830ba115300597b449c047e12b09.zip
修正重复检查provide的问题
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index fb1f6373..30731a3c 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -315,6 +315,25 @@ local results
(EXISTS)
TEST [[
+local a$
+
+local function f(fff)
+ fff = ast
+ fff = ast
+ fff = ast
+ fff = ast
+ fff = ast
+ fff = ast
+end
+]]
+{
+ {
+ label = 'ast',
+ kind = CompletionItemKind.Variable,
+ }
+}
+
+TEST [[
t.a = {}
t.b = {}
t.$