aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-21 16:30:05 +0800
committerGitHub <noreply@github.com>2023-07-21 16:30:05 +0800
commitca9f4a7cb1fea1ef1f22c011679fd8afa0a5d161 (patch)
tree1e8f5bcc01c2c2a4221a9cd5cf314a6a2b18565f /src/nvim/lua/executor.c
parent58f94861442d182e153ba56b63b5b9845b295d2f (diff)
downloadrneovim-ca9f4a7cb1fea1ef1f22c011679fd8afa0a5d161.tar.gz
rneovim-ca9f4a7cb1fea1ef1f22c011679fd8afa0a5d161.tar.bz2
rneovim-ca9f4a7cb1fea1ef1f22c011679fd8afa0a5d161.zip
docs: also change "vimL" and "viml" to "Vimscript" (#24414)
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 09392b4f60..9215926434 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -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;