Add .bk extension to is_temp.

This commit is contained in:
Clar Charr 2017-09-17 23:08:25 -04:00
parent 4819c4721b
commit eda3e56e4c

View File

@ -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 {