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 {