mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-25 17:23:39 +01:00
Switch to "·" (U+00B7) Middle Dot from "•" (U+2022) Bullet
This commit is contained in:
parent
3956e96e74
commit
99819087f1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user