diff options
author | Leander Tentrup <[email protected]> | 2020-07-15 15:34:11 +0100 |
---|---|---|
committer | Leander Tentrup <[email protected]> | 2020-07-15 15:42:47 +0100 |
commit | 119e71d9ea6448c49f597af3e0afefa6bf0f12ac (patch) | |
tree | d5ce4f56e7f02d861a4cfc6731d93caa024d3698 /crates/ra_ide/src/syntax_highlighting.rs | |
parent | 33832d43fcc10fd6da0edf004d575f3576d9e91d (diff) |
Add new `Punctuation` highlight tag
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index 6067207d9..6ac44c2c0 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs | |||
@@ -553,7 +553,7 @@ fn highlight_element( | |||
553 | T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => { | 553 | T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => { |
554 | Highlight::new(HighlightTag::Macro) | 554 | Highlight::new(HighlightTag::Macro) |
555 | } | 555 | } |
556 | p if p.is_punct() => HighlightTag::Operator.into(), | 556 | p if p.is_punct() => HighlightTag::Punctuation.into(), |
557 | 557 | ||
558 | k if k.is_keyword() => { | 558 | k if k.is_keyword() => { |
559 | let h = Highlight::new(HighlightTag::Keyword); | 559 | let h = Highlight::new(HighlightTag::Keyword); |