aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonerover <pathfinder1644@yahoo.com>2017-03-22 08:28:03 +0800
committerlonerover <pathfinder1644@yahoo.com>2017-03-22 08:33:12 +0800
commitab16c07584ab4a5bc48784dde3b9b46d30e5e4a0 (patch)
treef52fa0f85d2e631ddd52da42b96163f08e444c5a
parent7cc4e782a0d14be0bf648b3b938b1577bbb70df6 (diff)
downloadrneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.tar.gz
rneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.tar.bz2
rneovim-ab16c07584ab4a5bc48784dde3b9b46d30e5e4a0.zip
vim-patch:7.4.2283
Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar) Solution: Clear the rest of the line. (closes 1018) https://github.com/vim/vim/commit/885c00eabe6d1fd757d4f0eb531ad3a15a35ec04
-rw-r--r--src/nvim/eval.c1
-rw-r--r--src/nvim/version.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 7eb149476f..e11b460edf 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -23628,6 +23628,7 @@ void ex_oldfiles(exarg_T *eap)
msg_outnum(++nr);
MSG_PUTS(": ");
msg_outtrans(get_tv_string(&li->li_tv));
+ msg_clr_eos();
msg_putchar('\n');
ui_flush(); /* output one line at a time */
os_breakcheck();
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 39886aa9d9..e060724d81 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -158,7 +158,7 @@ static int included_patches[] = {
// 2286 NA
// 2285 NA
2284,
- // 2283,
+ 2283,
// 2282 NA
// 2281 NA
2280,