Improve matching for constructor tokens
This commit is contained in:
parent
6634a5e9f6
commit
6f064cfc36
12 changed files with 249 additions and 1 deletions
|
@ -188,7 +188,10 @@ impl ZedSyntaxToken {
|
|||
ZedSyntaxToken::CommentDoc => vec!["comment.block.documentation"],
|
||||
ZedSyntaxToken::Constant => vec!["constant", "constant.language", "constant.character"],
|
||||
ZedSyntaxToken::Constructor => {
|
||||
vec!["entity.name.function.definition.special.constructor"]
|
||||
vec![
|
||||
"entity.name.tag",
|
||||
"entity.name.function.definition.special.constructor",
|
||||
]
|
||||
}
|
||||
ZedSyntaxToken::Embedded => vec!["meta.embedded"],
|
||||
ZedSyntaxToken::Emphasis => vec!["markup.italic"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue