Improve matching for constant tokens further

This commit is contained in:
Marshall Bowers 2023-12-08 11:23:42 -05:00
parent 1b6721170a
commit 6634a5e9f6
4 changed files with 64 additions and 1 deletions

View file

@ -186,7 +186,7 @@ impl ZedSyntaxToken {
ZedSyntaxToken::Boolean => vec!["constant.language"],
ZedSyntaxToken::Comment => vec!["comment"],
ZedSyntaxToken::CommentDoc => vec!["comment.block.documentation"],
ZedSyntaxToken::Constant => vec!["constant.language", "constant.character"],
ZedSyntaxToken::Constant => vec!["constant", "constant.language", "constant.character"],
ZedSyntaxToken::Constructor => {
vec!["entity.name.function.definition.special.constructor"]
}