Switch to "·" (U+00B7) Middle Dot from "•" (U+2022) Bullet

This commit is contained in:
Dash Peters 2020-07-06 10:46:01 -07:00 committed by David Peter
parent 3956e96e74
commit 99819087f1
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {