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