mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	cargo fmt
This commit is contained in:
		@@ -30,7 +30,10 @@ impl<'a> SyntaxMapping<'a> {
 | 
			
		||||
            .insert("**/.ssh/config", MappingTarget::MapTo("SSH Config"))
 | 
			
		||||
            .unwrap();
 | 
			
		||||
        mapping
 | 
			
		||||
            .insert("**/bat/config", MappingTarget::MapTo("Bourne Again Shell (bash)"))
 | 
			
		||||
            .insert(
 | 
			
		||||
                "**/bat/config",
 | 
			
		||||
                MappingTarget::MapTo("Bourne Again Shell (bash)"),
 | 
			
		||||
            )
 | 
			
		||||
            .unwrap();
 | 
			
		||||
        mapping
 | 
			
		||||
            .insert(
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@ pub fn to_ansi_color(color: highlighting::Color, true_color: bool) -> ansi_term:
 | 
			
		||||
            0x0d => Color::Purple,
 | 
			
		||||
            0x0e => Color::Cyan,
 | 
			
		||||
            0x0f => Color::White,
 | 
			
		||||
            _ => unreachable!("The 0x0f color encoding does not allow for codes higher than 0x0f")
 | 
			
		||||
            _ => unreachable!("The 0x0f color encoding does not allow for codes higher than 0x0f"),
 | 
			
		||||
        }
 | 
			
		||||
    } else if true_color {
 | 
			
		||||
        RGB(color.r, color.g, color.b)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user