mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
api: call multiple methods atomically (useful in async contexts)
remove unused response_id parameter of handle_nvim_... helpers
This commit is contained in:
@@ -7133,7 +7133,7 @@ static void api_wrapper(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
}
|
||||
|
||||
Error err = ERROR_INIT;
|
||||
Object result = fn(INVALID_CHANNEL, NO_RESPONSE, args, &err);
|
||||
Object result = fn(INTERNAL_CALL, args, &err);
|
||||
|
||||
if (err.set) {
|
||||
nvim_err_writeln(cstr_as_string(err.msg));
|
||||
|
Reference in New Issue
Block a user