Skip to content
Permalink
Browse files

Highlight README~ as temp, not immediate

Fixes #313.
  • Loading branch information...
ogham committed Oct 14, 2018
1 parent c2bb986 commit 57e4c08411f59e7db91fa7d8127fbd412667ea32
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/info/filetype.rs
@@ -101,6 +101,7 @@ impl FileColours for FileExtensions {
use ansi_term::Colour::*;

Some(match file {
f if self.is_temp(f) => Fixed(244).normal(),
f if self.is_immediate(f) => Yellow.bold().underline(),
f if self.is_image(f) => Fixed(133).normal(),
f if self.is_video(f) => Fixed(135).normal(),
@@ -109,7 +110,6 @@ impl FileColours for FileExtensions {
f if self.is_crypto(f) => Fixed(109).normal(),
f if self.is_document(f) => Fixed(105).normal(),
f if self.is_compressed(f) => Red.normal(),
f if self.is_temp(f) => Fixed(244).normal(),
f if self.is_compiled(f) => Fixed(137).normal(),
_ => return None,
})

0 comments on commit 57e4c08

Please sign in to comment.
You can’t perform that action at this time.