aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2021-01-03 10:10:10 +0100
committerGitHub <noreply@github.com>2021-01-03 10:10:10 +0100
commit7a81a0c073704505b420d02420f0c6b64f031983 (patch)
tree16bb875f081a6250a97c62c1f1de228e0cc21d0e /src/nvim/buffer.c
parent84d08358b7c4af1d92c7d47edc2c7ae9594ffae4 (diff)
parent215aa83b2af85939900739a94f0d4d00902a2fed (diff)
downloadrneovim-7a81a0c073704505b420d02420f0c6b64f031983.tar.gz
rneovim-7a81a0c073704505b420d02420f0c6b64f031983.tar.bz2
rneovim-7a81a0c073704505b420d02420f0c6b64f031983.zip
Merge pull request #13665 from janlazo/vim-8.2.0917
vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 93a03986e5..0134ee838d 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -2159,10 +2159,11 @@ static buf_T *buflist_findname_file_id(char_u *ffname, FileID *file_id,
int buflist_findpat(
const char_u *pattern,
const char_u *pattern_end, // pointer to first char after pattern
- int unlisted, // find unlisted buffers
- int diffmode, // find diff-mode buffers only
- int curtab_only // find buffers in current tab only
+ bool unlisted, // find unlisted buffers
+ bool diffmode, // find diff-mode buffers only
+ bool curtab_only // find buffers in current tab only
)
+ FUNC_ATTR_NONNULL_ARG(1)
{
int match = -1;
int find_listed;