Merge pull request #27511 from bfredl/maparena

refactor(api): use arena for mappings, autocmd, channel info
This commit is contained in:
bfredl
2024-02-18 18:04:28 +01:00
committed by GitHub
22 changed files with 338 additions and 268 deletions

View File

@@ -374,7 +374,7 @@ static void api_wrapper(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
goto end;
}
object_to_vim(result, rettv, &err);
object_to_vim_take_luaref(&result, rettv, true, &err);
end:
if (!handler.arena_return) {