aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-04-29 21:22:22 -0400
committerJames McCoy <jamessan@jamessan.com>2017-04-29 23:48:27 -0400
commitf477c23c6282bffb8908f53592923e81443bac24 (patch)
tree2675b89162dbe21185bee5102e21e9ed2e941412
parent7bd97127b4e45dcef1159603834b04ef0dcadfd7 (diff)
downloadrneovim-f477c23c6282bffb8908f53592923e81443bac24.tar.gz
rneovim-f477c23c6282bffb8908f53592923e81443bac24.tar.bz2
rneovim-f477c23c6282bffb8908f53592923e81443bac24.zip
vim-patch:7.4.2245
Problem: Filter test fails. Solution: Include missing changes. https://github.com/vim/vim/commit/77401add71853d7a3da7ccc489f2a1bca58551ec
-rw-r--r--src/nvim/buffer.c6
-rw-r--r--src/nvim/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 7477118d6f..5007cb5015 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -2365,12 +2365,16 @@ void buflist_list(exarg_T *eap)
&& (buf == curbuf || curwin->w_alt_fnum != buf->b_fnum))) {
continue;
}
- msg_putchar('\n');
if (buf_spname(buf) != NULL)
STRLCPY(NameBuff, buf_spname(buf), MAXPATHL);
else
home_replace(buf, buf->b_fname, NameBuff, MAXPATHL, TRUE);
+ if (message_filtered(NameBuff)) {
+ continue;
+ }
+
+ msg_putchar('\n');
len = vim_snprintf((char *)IObuff, IOSIZE - 20, "%3d%c%c%c%c%c \"%s\"",
buf->b_fnum,
buf->b_p_bl ? ' ' : 'u',
diff --git a/src/nvim/version.c b/src/nvim/version.c
index a4125f9eac..c94e2b9f96 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -199,7 +199,7 @@ static const int included_patches[] = {
2248,
// 2247 NA
// 2246,
- // 2245,
+ 2245,
2244,
// 2243 NA
2242,