Use --file-name to detect syntax highlighting

Closes #891
This commit is contained in:
Kyle Criddle authored and David Peter committed 2020-04-21 08:57:15 +02:00
1 parent 96aedf6240
commit a3f8140fbe
3 files changed
+64 -14

No files matched your search

+1
View File
@@ -78,6 +78,7 @@ impl<'b> Controller<'b> {
&self.config,
&self.assets,
*input_file,
file_name,
&mut reader,
);
self.print_file(reader, &mut printer, writer, *input_file, file_name)