mirror of
https://github.com/sharkdp/bat
synced 2026-08-03 18:51:44 +00:00
Linting
This commit is contained in:
committed by
David Peter
parent
1ece38a4c4
commit
44bdae0212
+2
-2
@@ -77,7 +77,7 @@ pub struct Config<'a> {
|
||||
/// Command to start the pager
|
||||
pub pager: Option<&'a str>,
|
||||
|
||||
pub italics: bool
|
||||
pub italics: bool,
|
||||
}
|
||||
|
||||
fn is_truecolor_terminal() -> bool {
|
||||
@@ -262,7 +262,7 @@ impl App {
|
||||
pager: self.matches.value_of("pager"),
|
||||
italics: match self.matches.value_of("italic-text") {
|
||||
Some("always") => true,
|
||||
_ => false
|
||||
_ => false,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user