summaryrefslogtreecommitdiff
path: root/script-beta/core/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/completion.lua')
-rw-r--r--script-beta/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua
index 351f09c3..b4baace2 100644
--- a/script-beta/core/completion.lua
+++ b/script-beta/core/completion.lua
@@ -141,7 +141,7 @@ local function buildFunctionSnip(source, oop)
local defs = vm.getDefs(source)
local args = ''
for _, def in ipairs(defs) do
- local defArgs = getArg(def)
+ local defArgs = getArg(def, oop)
if defArgs ~= '' then
args = defArgs
break