diff options
author | cangscop <cangscop@gmail.com> | 2019-07-28 00:19:41 +0200 |
---|---|---|
committer | cangscop <cangscop@gmail.com> | 2019-07-29 19:56:02 +0200 |
commit | ea14d8d4936283cc84fc5c939032d8eeb3a7a805 (patch) | |
tree | 7a69854c26172824bc26b22ccb787071e9ce1580 /src/nvim/edit.c | |
parent | dedcd3ad1e87f5130dd6d32ec6cfe642553bcb39 (diff) | |
download | rneovim-ea14d8d4936283cc84fc5c939032d8eeb3a7a805.tar.gz rneovim-ea14d8d4936283cc84fc5c939032d8eeb3a7a805.tar.bz2 rneovim-ea14d8d4936283cc84fc5c939032d8eeb3a7a805.zip |
vim-patch:8.1.0053 use typval_T in the caller of call_vim_function
Problem: unreliable types for complete function arguments
Solution: fix argument type for functions w/ unreliable type conversion(Ozaki Kiichi)
vim/vim#2993
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 22bcfb6d16..3305d281bd 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3694,7 +3694,7 @@ expand_by_function ( curbuf_save = curbuf; // Call a function, which returns a list or dict. - if (call_vim_function(funcname, 2, args, false, &rettv) == OK) { + if (call_vim_function(funcname, 2, args, &rettv, false) == OK) { switch (rettv.v_type) { case VAR_LIST: matchlist = rettv.vval.v_list; |