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 | |
parent | 33832d43fcc10fd6da0edf004d575f3576d9e91d (diff) |
Add new `Punctuation` highlight tag
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tags.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tags.rs b/crates/ra_ide/src/syntax_highlighting/tags.rs index 719c6ed3c..49ec94bdc 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -32,6 +32,7 @@ pub enum HighlightTag { | |||
32 | Macro, | 32 | Macro, |
33 | Module, | 33 | Module, |
34 | NumericLiteral, | 34 | NumericLiteral, |
35 | Punctuation, | ||
35 | SelfKeyword, | 36 | SelfKeyword, |
36 | SelfType, | 37 | SelfType, |
37 | Static, | 38 | Static, |
@@ -83,6 +84,7 @@ impl HighlightTag { | |||
83 | HighlightTag::Generic => "generic", | 84 | HighlightTag::Generic => "generic", |
84 | HighlightTag::Keyword => "keyword", | 85 | HighlightTag::Keyword => "keyword", |
85 | HighlightTag::Lifetime => "lifetime", | 86 | HighlightTag::Lifetime => "lifetime", |
87 | HighlightTag::Punctuation => "punctuation", | ||
86 | HighlightTag::Macro => "macro", | 88 | HighlightTag::Macro => "macro", |
87 | HighlightTag::Module => "module", | 89 | HighlightTag::Module => "module", |
88 | HighlightTag::NumericLiteral => "numeric_literal", | 90 | HighlightTag::NumericLiteral => "numeric_literal", |