Permalink
Browse files

Add .bk extension to is_temp.

  • Loading branch information...
clarcharr committed Sep 18, 2017
1 parent 4819c47 commit eda3e56e4ce328c7240bbaf341122c6747f7ad4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/info/filetype.rs
@@ -81,7 +81,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" ])
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bk" ])
}
fn is_compiled(&self, file: &File) -> bool {

0 comments on commit eda3e56

Please sign in to comment.