mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
Add annotations again
This commit is contained in:
parent
989109145a
commit
5fe8a8342b
@ -138,6 +138,7 @@ impl<'b> Controller<'b> {
|
|||||||
printer: &mut dyn Printer,
|
printer: &mut dyn Printer,
|
||||||
writer: &mut dyn Write,
|
writer: &mut dyn Write,
|
||||||
input: &mut OpenedInput,
|
input: &mut OpenedInput,
|
||||||
|
#[cfg(feature = "git")]
|
||||||
line_changes: &Option<LineChanges>,
|
line_changes: &Option<LineChanges>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
if !input.reader.first_line.is_empty() || self.config.style_components.header() {
|
if !input.reader.first_line.is_empty() || self.config.style_components.header() {
|
||||||
|
@ -101,6 +101,7 @@ impl<'a> InteractivePrinter<'a> {
|
|||||||
config: &'a Config,
|
config: &'a Config,
|
||||||
assets: &'a HighlightingAssets,
|
assets: &'a HighlightingAssets,
|
||||||
input: &mut OpenedInput,
|
input: &mut OpenedInput,
|
||||||
|
#[cfg(feature = "git")]
|
||||||
line_changes: &'a Option<LineChanges>,
|
line_changes: &'a Option<LineChanges>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let theme = assets.get_theme(&config.theme);
|
let theme = assets.get_theme(&config.theme);
|
||||||
|
Loading…
Reference in New Issue
Block a user