mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Add customization chapter
This commit is contained in:
1 parent
95a2079bcd
commit
64ef61b409
4 files changed
+39
-3
No files matched your search
+2
-1
@@ -368,7 +368,8 @@ fn run() -> Result<()> {
|
||||
true_color: is_truecolor_terminal(),
|
||||
};
|
||||
|
||||
let assets = HighlightingAssets::from_binary();
|
||||
let assets =
|
||||
HighlightingAssets::from_cache().unwrap_or(HighlightingAssets::from_binary());
|
||||
|
||||
let theme = assets.theme_set.themes.get("Default").ok_or_else(|| {
|
||||
io::Error::new(
|
||||
|
||||
Reference in new issue
Block a user