summaryrefslogtreecommitdiff
path: root/script-beta/core/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-08 19:56:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-08 19:56:45 +0800
commit6ee179f6fbf2d9d89c07fa408c9218eb55422b39 (patch)
treea3221413be9a767fc510cb069fa9217a37907e19 /script-beta/core/completion.lua
parentd0814be33882cbe3c56da13dc114f12a53c62057 (diff)
downloadlua-language-server-6ee179f6fbf2d9d89c07fa408c9218eb55422b39.zip
暂存
Diffstat (limited to 'script-beta/core/completion.lua')
-rw-r--r--script-beta/core/completion.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua
index 0e23f90e..8839952b 100644
--- a/script-beta/core/completion.lua
+++ b/script-beta/core/completion.lua
@@ -697,7 +697,10 @@ end
local function checkLenPlusOne(ast, text, offset, results)
guide.eachSourceContain(ast.ast, offset, function (source)
-
+ if source.type == 'getindex'
+ or source.type == 'setindex' then
+ local pos
+ end
end)
end