mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
docs: also change "vimL" and "viml" to "Vimscript" (#24414)
This commit is contained in:
@@ -1139,7 +1139,7 @@ static bool viml_func_is_fast(const char *name)
|
||||
if (fdef) {
|
||||
return fdef->fast;
|
||||
}
|
||||
// Not a vimL function
|
||||
// Not a Vimscript function
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1149,7 +1149,7 @@ int nlua_call(lua_State *lstate)
|
||||
size_t name_len;
|
||||
const char *name = luaL_checklstring(lstate, 1, &name_len);
|
||||
if (!nlua_is_deferred_safe() && !viml_func_is_fast(name)) {
|
||||
return luaL_error(lstate, e_luv_api_disabled, "vimL function");
|
||||
return luaL_error(lstate, e_luv_api_disabled, "Vimscript function");
|
||||
}
|
||||
|
||||
int nargs = lua_gettop(lstate) - 1;
|
||||
|
Reference in New Issue
Block a user