api: consistently use nvim_ prefix and update documentation

This commit is contained in:
Björn Linse
2016-06-28 21:45:19 +02:00
parent e536abc1e1
commit 1c22cab2fd
20 changed files with 491 additions and 347 deletions

View File

@@ -7131,7 +7131,7 @@ static void api_wrapper(typval_T *argvars, typval_T *rettv, FunPtr fptr)
Object result = fn(INVALID_CHANNEL, NO_RESPONSE, args, &err);
if (err.set) {
vim_report_error(cstr_as_string(err.msg));
nvim_report_error(cstr_as_string(err.msg));
goto end;
}
@@ -8837,8 +8837,8 @@ static void f_feedkeys(typval_T *argvars, typval_T *rettv, FunPtr fptr)
flags = get_tv_string_buf(&argvars[1], nbuf);
}
vim_feedkeys(cstr_as_string((char *)keys),
cstr_as_string((char *)flags), true);
nvim_feedkeys(cstr_as_string((char *)keys),
cstr_as_string((char *)flags), true);
}
}
@@ -13751,7 +13751,7 @@ static void f_rpcrequest(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
if (err.set) {
vim_report_error(cstr_as_string(err.msg));
nvim_report_error(cstr_as_string(err.msg));
goto end;
}