From 99819087f1cae6324b166f9062401f6044b935ea Mon Sep 17 00:00:00 2001 From: Dash Peters Date: Mon, 6 Jul 2020 10:46:01 -0700 Subject: [PATCH] =?UTF-8?q?Switch=20to=20"=C2=B7"=20(U+00B7)=20Middle=20Do?= =?UTF-8?q?t=20from=20"=E2=80=A2"=20(U+2022)=20Bullet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax | 2 +- src/preprocessor.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax b/assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax index 179d88b6..0d09ef23 100644 --- a/assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax +++ b/assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax @@ -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 diff --git a/src/preprocessor.rs b/src/preprocessor.rs index f6c3d3f3..eb878890 100644 --- a/src/preprocessor.rs +++ b/src/preprocessor.rs @@ -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 {