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/api/vimscript.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/api/vimscript.c')
-rw-r--r-- | src/nvim/api/vimscript.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/vimscript.c b/src/nvim/api/vimscript.c index 1758f18926..71209c9ab6 100644 --- a/src/nvim/api/vimscript.c +++ b/src/nvim/api/vimscript.c @@ -204,10 +204,10 @@ static Object _call_function(String fn, Array args, dict_T *self, Error *err) 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.selfdict = self; + funcexe.fe_firstline = curwin->w_cursor.lnum; + funcexe.fe_lastline = curwin->w_cursor.lnum; + funcexe.fe_evaluate = true; + funcexe.fe_selfdict = self; // call_func() retval is deceptive, ignore it. Instead we set `msg_list` // (see above) to capture abort-causing non-exception errors. (void)call_func(fn.data, (int)fn.size, &rettv, (int)args.size, |