Add extension ".bkp" as temp file

This commit is contained in:
Izhak Jakov 2021-08-22 21:11:35 -04:00
parent 439b629d90
commit 5f49a2e840

View File

@ -87,7 +87,7 @@ impl FileExtensions {
fn is_temp(&self, file: &File<'_>) -> bool {
file.name.ends_with('~')
|| (file.name.starts_with('#') && file.name.ends_with('#'))
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bk" ])
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bkp", "bk" ])
}
fn is_compiled(&self, file: &File<'_>) -> bool {