aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-01 18:27:41 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-16 00:14:46 +0100
commite88961943b85434ceebff6a31089c635ac39cd66 (patch)
tree715ec2acac329e04e5b1a265c63e2e0a960c4341 /src/nvim/eval.c
parent3d6bb8b3fbe21d8a7a4ba975682eb9a4e5170859 (diff)
downloadrneovim-e88961943b85434ceebff6a31089c635ac39cd66.tar.gz
rneovim-e88961943b85434ceebff6a31089c635ac39cd66.tar.bz2
rneovim-e88961943b85434ceebff6a31089c635ac39cd66.zip
fix(eval): partially port v8.2.3284
These were issues that I found while porting that I fixed upstream. :^) Very little of the patch can be exactly ported as we're a bit behind on dependant patches (we also can't use the exact :for emsg, as we don't support iterating over Strings yet), so just translate the fixes as best as we can for now. Include latest relevant doc changes from: - v8.1.0815 - v8.2.2658
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 8777ae1281..5607de3cc1 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -2614,7 +2614,7 @@ void *eval_for_line(const char_u *arg, bool *errp, char_u **nextcmdp, int skip)
}
tv_clear(&tv);
} else {
- EMSG(_(e_listreq));
+ EMSG(_(e_listblobreq));
tv_clear(&tv);
}
}