diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-16 17:31:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 17:31:42 +0800 |
commit | 3dda52d860eb4937127693d4660db18305069370 (patch) | |
tree | 7b7ab6056f57eb481a3766074a911d8ed7eb4e34 /src/nvim/lua/executor.c | |
parent | 754822a066e6ce92462aa17fce8999472c23b777 (diff) | |
download | rneovim-3dda52d860eb4937127693d4660db18305069370.tar.gz rneovim-3dda52d860eb4937127693d4660db18305069370.tar.bz2 rneovim-3dda52d860eb4937127693d4660db18305069370.zip |
vim-patch:8.2.3796: the funcexe_T struct members are not named consistently (#20214)
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Omit fe_check_type: always NULL in legacy Vim script.
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 94947c2fbc..d56b3642aa 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -1110,9 +1110,9 @@ int nlua_call(lua_State *lstate) try_start(); typval_T rettv; funcexe_T funcexe = FUNCEXE_INIT; - funcexe.firstline = curwin->w_cursor.lnum; - funcexe.lastline = curwin->w_cursor.lnum; - funcexe.evaluate = true; + funcexe.fe_firstline = curwin->w_cursor.lnum; + funcexe.fe_lastline = curwin->w_cursor.lnum; + funcexe.fe_evaluate = true; // call_func() retval is deceptive, ignore it. Instead we set `msg_list` // (TRY_WRAP) to capture abort-causing non-exception errors. (void)call_func((char *)name, (int)name_len, &rettv, nargs, vim_args, &funcexe); |