1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-29 22:24:35 +00:00

Handle non-unicode characters in the preprocessor

This commit is contained in:
sharkdp
2019-08-31 19:30:24 +02:00
committed by David Peter
parent b48b9fcf3b
commit 82ca8804a2
4 changed files with 126 additions and 55 deletions

View File

@@ -25,3 +25,7 @@ contexts:
scope: entity.other.attribute-name.show-nonprintable.escape
- match: "␈"
scope: entity.other.attribute-name.show-nonprintable.backspace
- match: "\\\\x[A-Z0-9][A-Z0-9]"
scope: comment.block.show-nonprintable.backspace
- match: "\\\\u\\{[a-z0-9]+\\}"
scope: comment.block.show-nonprintable.backspace