diff options
author | James McCoy <jamessan@jamessan.com> | 2017-04-29 21:22:22 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-04-29 23:48:27 -0400 |
commit | f477c23c6282bffb8908f53592923e81443bac24 (patch) | |
tree | 2675b89162dbe21185bee5102e21e9ed2e941412 /src/nvim/buffer.c | |
parent | 7bd97127b4e45dcef1159603834b04ef0dcadfd7 (diff) | |
download | rneovim-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
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 6 |
1 files changed, 5 insertions, 1 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', |