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.
074fbd4131
This commit is contained in:
zeertzjq
2022-08-27 06:34:40 +08:00
parent d5e0883712
commit e70ef80f77

View File

@@ -337,7 +337,9 @@ int readfile(char *fname, char *sfname, linenr_T from, linenr_T lines_to_skip,
curbuf->b_op_start = orig_start; curbuf->b_op_start = orig_start;
if (flags & READ_NOFILE) { 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;
} }
} }