diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 23:57:39 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-02 12:20:35 -0500 |
commit | ffc3df51f1f9d9a66735c536fe6cfce55d439da0 (patch) | |
tree | 536f6c5e40240b0a7f07ed5f7f50dbf0eb74fa3f /src/nvim/buffer.c | |
parent | 01eda00962258a881cbacb902f1f508e70249470 (diff) | |
download | rneovim-ffc3df51f1f9d9a66735c536fe6cfce55d439da0.tar.gz rneovim-ffc3df51f1f9d9a66735c536fe6cfce55d439da0.tar.bz2 rneovim-ffc3df51f1f9d9a66735c536fe6cfce55d439da0.zip |
vim-patch:8.1.1667: flags for Ex commands may clash with other symbols
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
https://github.com/vim/vim/commit/8071cb2c646c9d38dcd4e3ccd377dce07705f031
N/A patches for version.c:
vim-patch:8.1.1672: "make cmdidxs" doesn't work
Problem: "make cmdidxs" doesn't work.
Solution: Update macro names. (Naruhiko Nishino, closes vim/vim#4660)
https://github.com/vim/vim/commit/d94ac0caca12c6ceb54b07fc932edba84a5f60f2
Error message for src/nvim/ex_cmds.lua
which omits the "EX_" prefix for the flags.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 7 |
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; |