Skip to content

Commit

Permalink
Merge pull request #940 from izhakjakov/master
Browse files Browse the repository at this point in the history
Add extension ".bkp" as temp file
  • Loading branch information
ariasuni authored Sep 1, 2021
2 parents 439b629 + 5f49a2e commit aff35a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aff35a1

Please sign in to comment.