Skip to content

Commit eda3e56

Browse files
author
Clar Charr
committed
Add .bk extension to is_temp.
1 parent 4819c47 commit eda3e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/info/filetype.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl FileExtensions {
8181
fn is_temp(&self, file: &File) -> bool {
8282
file.name.ends_with('~')
8383
|| (file.name.starts_with('#') && file.name.ends_with('#'))
84-
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak" ])
84+
|| file.extension_is_one_of( &[ "tmp", "swp", "swo", "swn", "bak", "bk" ])
8585
}
8686

8787
fn is_compiled(&self, file: &File) -> bool {

0 commit comments

Comments
 (0)