mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
fix(messages): use "Vimscript" instead of "VimL" #24111
followup to #24109 fix #16150
This commit is contained in:
@@ -183,7 +183,7 @@ typedef struct {
|
||||
int idx; ///< Container index (used to detect self-referencing structures).
|
||||
} TVPopStackItem;
|
||||
|
||||
/// Convert lua object to VimL typval_T
|
||||
/// Convert lua object to Vimscript typval_T
|
||||
///
|
||||
/// Should pop exactly one value from lua stack.
|
||||
///
|
||||
@@ -601,7 +601,7 @@ static bool typval_conv_special = false;
|
||||
#undef TYPVAL_ENCODE_CONV_RECURSE
|
||||
#undef TYPVAL_ENCODE_ALLOW_SPECIALS
|
||||
|
||||
/// Convert VimL typval_T to lua value
|
||||
/// Convert Vimscript typval_T to lua value
|
||||
///
|
||||
/// Should leave single value in lua stack. May only fail if lua failed to grow
|
||||
/// stack.
|
||||
@@ -628,8 +628,7 @@ bool nlua_push_typval(lua_State *lstate, typval_T *const tv, bool special)
|
||||
|
||||
/// Push value which is a type index
|
||||
///
|
||||
/// Used for all “typed” tables: i.e. for all tables which represent VimL
|
||||
/// values.
|
||||
/// Used for all “typed” tables: i.e. for all tables which represent Vimscript values.
|
||||
static inline void nlua_push_type_idx(lua_State *lstate)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
@@ -657,7 +656,7 @@ static inline void nlua_push_type(lua_State *lstate, ObjectType type)
|
||||
lua_pushnumber(lstate, (lua_Number)type);
|
||||
}
|
||||
|
||||
/// Create lua table which has an entry that determines its VimL type
|
||||
/// Create Lua table which has an entry that determines its Vimscript type
|
||||
///
|
||||
/// @param[out] lstate Lua state.
|
||||
/// @param[in] narr Number of “array” entries to be populated later.
|
||||
|
@@ -1487,7 +1487,7 @@ int nlua_source_using_linegetter(LineGetter fgetline, void *cookie, char *name)
|
||||
|
||||
/// Call a LuaCallable given some typvals
|
||||
///
|
||||
/// Used to call any lua callable passed from Lua into VimL
|
||||
/// Used to call any Lua callable passed from Lua into Vimscript.
|
||||
///
|
||||
/// @param[in] lstate Lua State
|
||||
/// @param[in] lua_cb Lua Callable
|
||||
@@ -1622,7 +1622,7 @@ bool nlua_is_deferred_safe(void)
|
||||
///
|
||||
/// Used for :lua.
|
||||
///
|
||||
/// @param eap VimL command being run.
|
||||
/// @param eap Vimscript command being run.
|
||||
void ex_lua(exarg_T *const eap)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
@@ -1654,7 +1654,7 @@ void ex_lua(exarg_T *const eap)
|
||||
///
|
||||
/// Used for :luado.
|
||||
///
|
||||
/// @param eap VimL command being run.
|
||||
/// @param eap Vimscript command being run.
|
||||
void ex_luado(exarg_T *const eap)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
@@ -1735,7 +1735,7 @@ void ex_luado(exarg_T *const eap)
|
||||
///
|
||||
/// Used for :luafile.
|
||||
///
|
||||
/// @param eap VimL command being run.
|
||||
/// @param eap Vimscript command being run.
|
||||
void ex_luafile(exarg_T *const eap)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
|
Reference in New Issue
Block a user