mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
docs: fix typos (#19024)
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Valery Viktorovsky <viktorovsky@gmail.com>
This commit is contained in:
@@ -1686,7 +1686,7 @@ int nlua_expand_pat(expand_T *xp, char_u *pat, int *num_results, char_u ***resul
|
||||
lua_getfield(lstate, -1, "_expand_pat");
|
||||
luaL_checktype(lstate, -1, LUA_TFUNCTION);
|
||||
|
||||
// [ vim, vim._on_key, buf ]
|
||||
// [ vim, vim._expand_pat, buf ]
|
||||
lua_pushlstring(lstate, (const char *)pat, STRLEN(pat));
|
||||
|
||||
if (nlua_pcall(lstate, 1, 2) != 0) {
|
||||
@@ -1839,7 +1839,7 @@ void nlua_execute_on_key(int c)
|
||||
// [ vim ]
|
||||
lua_getglobal(lstate, "vim");
|
||||
|
||||
// [ vim, vim._on_key]
|
||||
// [ vim, vim._on_key ]
|
||||
lua_getfield(lstate, -1, "_on_key");
|
||||
luaL_checktype(lstate, -1, LUA_TFUNCTION);
|
||||
|
||||
|
Reference in New Issue
Block a user