diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:44:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:44:24 +0800 |
commit | 3f300fc71445acd56b70ebc10255eab160b9c458 (patch) | |
tree | 19e2d6b8e9dd2a11490ecb0f7a6b1fb96f435688 /script | |
parent | ed32c90938dc1f44c8faa8a58fd3c4c4ad0c85e3 (diff) | |
download | lua-language-server-3f300fc71445acd56b70ebc10255eab160b9c458.zip |
fix #550
Diffstat (limited to 'script')
-rw-r--r-- | script/core/completion.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua index 5e98aa15..2975634c 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -1389,9 +1389,6 @@ local function checkTableLiteralFieldByCall(ast, text, offset, call, defs, index and (not source.parent or source.parent.type ~= 'table') then return end - if call.node and call.node.type == 'getmethod' then - index = index + 1 - end local mark = {} local fields = {} local tbl = source |