Improve matching for preprocessor tokens
This commit is contained in:
parent
40a95221ea
commit
63ce7cd407
5 changed files with 145 additions and 1 deletions
|
@ -219,7 +219,11 @@ impl ZedSyntaxToken {
|
|||
ZedSyntaxToken::Number => vec!["constant.numeric", "number"],
|
||||
ZedSyntaxToken::Operator => vec!["operator", "keyword.operator"],
|
||||
ZedSyntaxToken::Predictive => vec![],
|
||||
ZedSyntaxToken::Preproc => vec!["preproc"],
|
||||
ZedSyntaxToken::Preproc => vec![
|
||||
"preproc",
|
||||
"meta.preprocessor",
|
||||
"punctuation.definition.preprocessor",
|
||||
],
|
||||
ZedSyntaxToken::Primary => vec![],
|
||||
ZedSyntaxToken::Property => vec![
|
||||
"variable.member",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue