diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-07-31 10:46:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 16:46:38 +0800 |
commit | abc087f4c65ca547cae58518b42aee82ff4a07f6 (patch) | |
tree | c988358f1a3e0811053ece2a805f4e1d58c1e00f /src/nvim/lua/executor.c | |
parent | c1652bdcb5b5ca95b5ae328cec582f23816b70dd (diff) | |
download | rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.tar.gz rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.tar.bz2 rneovim-abc087f4c65ca547cae58518b42aee82ff4a07f6.zip |
docs: fix typos (#19024)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Valery Viktorovsky <viktorovsky@gmail.com>
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 824b9a8ec0..81314f8b4a 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -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); |