mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.0.0278: the +wildignore feature is nearly always available
Problem: The +wildignore feature is nearly always available. Solution: Graduate +wildignore for consistency.
This commit is contained in:
@@ -1136,10 +1136,8 @@ buf_write(
|
||||
|
||||
// If 'backupskip' is not empty, don't make a backup for some files.
|
||||
dobackup = (p_wb || p_bk || *p_pm != NUL);
|
||||
#ifdef FEAT_WILDIGN
|
||||
if (dobackup && *p_bsk != NUL && match_file_list(p_bsk, sfname, ffname))
|
||||
dobackup = FALSE;
|
||||
#endif
|
||||
|
||||
// Save the value of got_int and reset it. We don't want a previous
|
||||
// interruption cancel writing, only hitting CTRL-C while writing should
|
||||
|
Reference in New Issue
Block a user