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

Better API for highlighting lines

This commit is contained in:
sharkdp
2020-04-22 19:15:33 +02:00
committed by David Peter
parent 13e6b3fac7
commit ec0ce05455
4 changed files with 31 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ mod diff;
pub mod errors;
pub mod input;
mod less;
pub(crate) mod line_range;
pub mod line_range;
mod output;
mod preprocessor;
mod pretty_printer;
@@ -29,7 +29,7 @@ pub(crate) mod syntax_mapping;
mod terminal;
pub(crate) mod wrap;
pub use line_range::{HighlightedLineRanges, LineRange, LineRanges};
pub use line_range::LineRange;
pub use pretty_printer::PrettyPrinter;
pub use style::{StyleComponent, StyleComponents};
pub use syntax_mapping::{MappingTarget, SyntaxMapping};