AstNode, AstToken, SyntaxElement, SyntaxKind, SyntaxNode, TextRange,
};
-use crate::{HighlightTag, HighlightedRange, SymbolKind};
+use crate::{HighlightedRange, HlTag, SymbolKind};
use super::highlights::Highlights;
}
}
-fn highlight_format_specifier(kind: FormatSpecifier) -> Option<HighlightTag> {
+fn highlight_format_specifier(kind: FormatSpecifier) -> Option<HlTag> {
Some(match kind {
FormatSpecifier::Open
| FormatSpecifier::Close
| FormatSpecifier::DollarSign
| FormatSpecifier::Dot
| FormatSpecifier::Asterisk
- | FormatSpecifier::QuestionMark => HighlightTag::FormatSpecifier,
- FormatSpecifier::Integer | FormatSpecifier::Zero => HighlightTag::NumericLiteral,
- FormatSpecifier::Identifier => HighlightTag::Symbol(SymbolKind::Local),
+ | FormatSpecifier::QuestionMark => HlTag::FormatSpecifier,
+ FormatSpecifier::Integer | FormatSpecifier::Zero => HlTag::NumericLiteral,
+ FormatSpecifier::Identifier => HlTag::Symbol(SymbolKind::Local),
})
}