Major restructuring of theme/syntax handling

This commit is contained in:
sharkdp authored and David Peter committed 2020-03-21 19:19:15 +01:00
1 parent b1b8addf7e
commit 06b7be7ee9
10 files changed
+84 -72

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ fn no_duplicate_extensions() {
"sass",
];
let assets = HighlightingAssets::new();
let assets = HighlightingAssets::from_binary();
let mut extensions = HashSet::new();
+1 -1
View File
@@ -18,7 +18,7 @@ struct SyntaxDetectionTest {
impl SyntaxDetectionTest {
fn new() -> Self {
SyntaxDetectionTest {
assets: HighlightingAssets::new(),
assets: HighlightingAssets::from_binary(),
syntax_mapping: SyntaxMapping::new(),
temp_dir: TempDir::new("bat_syntax_detection_tests")
.expect("creation of temporary directory"),