neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e70ef80f7741905580d228927ca4f694e38777fe
parent d5e08837128530f05b2fc8900e826f767e4961ee
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 27 Aug 2022 06:34:40 +0800

vim-patch:9.0.0278: the +wildignore feature is nearly always available

Problem:    The +wildignore feature is nearly always available.
Solution:   Graduate +wildignore for consistency.
https://github.com/vim/vim/commit/074fbd413172edc6f4936296a28bf8fd5cdfa38b

Diffstat:
Msrc/nvim/fileio.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c @@ -337,7 +337,9 @@ int readfile(char *fname, char *sfname, linenr_T from, linenr_T lines_to_skip, curbuf->b_op_start = orig_start; if (flags & READ_NOFILE) { - return NOTDONE; // so that BufEnter can be triggered + // Return NOTDONE instead of FAIL so that BufEnter can be triggered + // and other operations don't fail. + return NOTDONE; } }