aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-17 13:01:45 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-17 13:14:32 +0800
commitdb64280be5ff866b80ffa80569838688bfd7caa5 (patch)
treeefd308b8e9ec45807800898440cfab51e34675ce /src/nvim/eval.c
parentfaef577e90cf17699bd7bc206b0fb64af65334d2 (diff)
downloadrneovim-db64280be5ff866b80ffa80569838688bfd7caa5.tar.gz
rneovim-db64280be5ff866b80ffa80569838688bfd7caa5.tar.bz2
rneovim-db64280be5ff866b80ffa80569838688bfd7caa5.zip
vim-patch:8.2.3908: cannot use a script-local function for 'foldtext'
Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes vim/vim#9411) https://github.com/vim/vim/commit/27708e6c7b6f444fd599f3dc5015336b002b874d Cherry-pick test_filter_map.vim change from patch 8.2.3871. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 50f5fa578c..dab0896d75 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -5217,9 +5217,6 @@ static void filter_map(typval_T *argvars, typval_T *rettv, filtermap_T filtermap
typval_T newtv;
if (filter_map_one(&tv, expr, filtermap, &newtv, &rem) == FAIL
|| did_emsg) {
- break;
- }
- if (did_emsg) {
tv_clear(&newtv);
tv_clear(&tv);
break;