diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-06 16:49:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 16:49:40 +0800 |
commit | f22e9e10f9ad77d2cce7f52837c5724877505a08 (patch) | |
tree | 0ef7ab588500f2d731fccd3a7aa43c9e51e1be32 /src/nvim/lua/executor.c | |
parent | 401ce9f3fdebed05a929de1b94e55c74d45e2ffb (diff) | |
download | rneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.tar.gz rneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.tar.bz2 rneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.zip |
vim-patch:8.2.3695: confusing error for missing key (#26420)
Problem: Confusing error for missing key.
Solution: Use the actualy key for the error. (closes vim/vim#9241)
https://github.com/vim/vim/commit/5c1ec439f0a69e9aa7ece9bbb7d916f48f58be1e
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index d63a9a1307..e665732c1a 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -115,7 +115,7 @@ lua_State *get_global_lstate(void) /// Convert lua error into a Vim error message /// /// @param lstate Lua interpreter state. -/// @param[in] msg Message base, must contain one `%*s`. +/// @param[in] msg Message base, must contain one `%.*s`. void nlua_error(lua_State *const lstate, const char *const msg) FUNC_ATTR_NONNULL_ALL { |