mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Switch to "·" (U+00B7) Middle Dot from "•" (U+2022) Bullet
This commit is contained in:
		@@ -7,7 +7,7 @@ file_extensions:
 | 
			
		||||
scope: whitespace
 | 
			
		||||
contexts:
 | 
			
		||||
  main:
 | 
			
		||||
    - match: "•"
 | 
			
		||||
    - match: "·"
 | 
			
		||||
      scope: support.function.show-nonprintable.space
 | 
			
		||||
    - match: "├─*┤"
 | 
			
		||||
      scope: constant.character.escape.show-nonprintable.tab
 | 
			
		||||
 
 | 
			
		||||
@@ -60,7 +60,7 @@ pub fn replace_nonprintable(input: &[u8], tab_width: usize) -> String {
 | 
			
		||||
 | 
			
		||||
            match chr {
 | 
			
		||||
                // space
 | 
			
		||||
                ' ' => output.push('•'),
 | 
			
		||||
                ' ' => output.push('·'),
 | 
			
		||||
                // tab
 | 
			
		||||
                '\t' => {
 | 
			
		||||
                    if tab_width == 1 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user