diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-18 05:09:24 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-18 05:29:05 +0800 |
commit | bb29ef40084e1cea1f35cbbcbac794f41f46d5f8 (patch) | |
tree | 4d6b898cb67d3d1aec5d3cd49acdb0be7be07ada /src/nvim/window.c | |
parent | ffb87f4dd992ff23ff66f888dbe1bcc54bd0b012 (diff) | |
download | rneovim-bb29ef40084e1cea1f35cbbcbac794f41f46d5f8.tar.gz rneovim-bb29ef40084e1cea1f35cbbcbac794f41f46d5f8.tar.bz2 rneovim-bb29ef40084e1cea1f35cbbcbac794f41f46d5f8.zip |
vim-patch:9.0.1723: Fix regression in {func} argument of reduce()
Problem: Fix regression in {func} argument of reduce()
Solution: pass function name as string again
Before patch 9.0.0548, passing a string as {func} argument of reduce()
is treated as a function name, but after patch 9.0.0548 it is treated as
an expression instead, which is useless as reduce() doesn't set any v:
variables. This PR restores the behavior of {func} before that patch.
Also correct an emsg() call, as e_string_list_or_blob_required doesn't
contain format specifiers.
closes: vim/vim#12824
https://github.com/vim/vim/commit/ad0c442f1fcc6fe9c433777ee3e5b9e6addc6d69
Diffstat (limited to 'src/nvim/window.c')
0 files changed, 0 insertions, 0 deletions