1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-14 01:02:25 +01:00

Major refactoring and cleanup

This commit is contained in:
sharkdp
2018-08-22 22:29:12 +02:00
parent c884c3cc12
commit 9316f2a758
10 changed files with 181 additions and 155 deletions

View File

@@ -193,7 +193,7 @@ impl HighlightingAssets {
}
}
// TODO: ideally, this function would be part of syntect's `ThemeSet`.
// TODO: this function will soon be part of syntect's `ThemeSet`.
fn extend_theme_set<P: AsRef<Path>>(theme_set: &mut ThemeSet, folder: P) -> Result<()> {
let paths = ThemeSet::discover_theme_paths(folder)?;
for p in &paths {