mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Moved user_provided_filename to be contained within OrdinaryFile struct
This commit is contained in:
1 parent
a3f8140fbe
commit
04fa84aea7
9 files changed
+143
-127
No files matched your search
+3
-3
@@ -1,4 +1,5 @@
|
||||
pub use crate::inputfile::InputFile;
|
||||
pub use crate::inputfile::OrdinaryFile;
|
||||
pub use crate::line_range::{HighlightedLineRanges, LineRange, LineRanges};
|
||||
pub use crate::style::{StyleComponent, StyleComponents};
|
||||
pub use crate::syntax_mapping::{MappingTarget, SyntaxMapping};
|
||||
@@ -73,9 +74,8 @@ pub struct Config<'a> {
|
||||
|
||||
/// Ranges of lines which should be highlighted with a special background color
|
||||
pub highlighted_lines: HighlightedLineRanges,
|
||||
|
||||
/// Names of files to display when printing
|
||||
pub filenames: Option<Vec<&'a str>>,
|
||||
///// Names of files to display when printing
|
||||
// pub filenames: Option<Vec<&'a str>>,
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user