Skip to content

Commit 366b083

Browse files
authored
fix: return the results from async.api.* (#544)
1 parent 19ff925 commit 366b083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/plenary/async/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ return setmetatable({}, {
88
util.scheduler()
99
end
1010

11-
vim.api[k](...)
11+
return vim.api[k](...)
1212
end
1313
end,
1414
})

0 commit comments

Comments
 (0)