mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user