feat: escape format specifier(close: #12258)

This commit is contained in:
bvanjoi 2022-05-22 14:40:47 +08:00
parent 3de03d4c61
commit f6b8525b1d
4 changed files with 43 additions and 5 deletions

View file

@ -45,5 +45,6 @@ fn highlight_format_specifier(kind: FormatSpecifier) -> Option<HlTag> {
FormatSpecifier::Integer | FormatSpecifier::Zero => HlTag::NumericLiteral,
FormatSpecifier::Identifier => HlTag::Symbol(SymbolKind::Local),
FormatSpecifier::Escape => HlTag::EscapeSequence,
})
}