mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-28 02:35:03 +00:00
Fix Git colours to be actually correct
This commit is contained in:
parent
085067d18e
commit
e2f2bd69de
@ -296,11 +296,11 @@ impl Table {
|
||||
let render_char = |chr| {
|
||||
match chr {
|
||||
f::GitStatus::NotModified => self.colours.punctuation.paint("-"),
|
||||
f::GitStatus::New => self.colours.git.renamed.paint("N"),
|
||||
f::GitStatus::Modified => self.colours.git.renamed.paint("M"),
|
||||
f::GitStatus::Deleted => self.colours.git.renamed.paint("D"),
|
||||
f::GitStatus::New => self.colours.git.new.paint("N"),
|
||||
f::GitStatus::Modified => self.colours.git.modified.paint("M"),
|
||||
f::GitStatus::Deleted => self.colours.git.deleted.paint("D"),
|
||||
f::GitStatus::Renamed => self.colours.git.renamed.paint("R"),
|
||||
f::GitStatus::TypeChange => self.colours.git.renamed.paint("T"),
|
||||
f::GitStatus::TypeChange => self.colours.git.typechange.paint("T"),
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user