Replies: 1 comment
|
Hi, good question. This is not possible out of the box. The highlighting of special chars is handled by a special syntax definition, I imagine you'd need to copy https://github.com/sharkdp/bat/blob/master/assets/syntaxes/02_Extra/show-nonprintable.sublime-syntax, removing the matches (or updating the regular expressions) for characters you don't want. If you save it as a custom asset with nothing else changed, I think it would replace the built-in one. Then, if showing but not highlighting spaces and newlines is still undesirable, you'd also want to introduce a new notation perhaps at Lines 197 to 217 in 0da4084 Line 78 in 0da4084 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm looking to show any non-printable character (along with "--nonprintable-notation unicode") but I don't need to see spaces or newlines. Is there any way to do this?
All reactions