diff options
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/completion.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua index ff92cb95..75e8a470 100644 --- a/script-beta/core/completion.lua +++ b/script-beta/core/completion.lua @@ -988,6 +988,9 @@ local function tryCallArg(ast, text, offset, results) end local myResults = {} local argIndex, arg = getCallArgInfo(call, text, offset) + if arg and arg.type == 'function' then + return + end local defs = vm.getDefs(call.node, 'deep') for _, def in ipairs(defs) do local enums = getCallEnums(def, argIndex) |