summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion/completion.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index b8e863cc..815b00fd 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -1524,6 +1524,9 @@ local function tryArray(state, position, results)
if source.type ~= 'table' then
tbl = source.parent
end
+ if source.parent.type == 'callargs' and source.parent.parent.type == 'call' then
+ return
+ end
-- { } inside when enum
checkEqualEnumLeft(state, position, tbl, results, true)
end