diff options
author | Laurențiu Nicola <[email protected]> | 2020-05-25 09:51:56 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2020-05-25 10:08:58 +0100 |
commit | c2358365ad0b82d4a5f023192ee0ab2c198d6aee (patch) | |
tree | 9923f9ea4cdebebe11df1b0cdf3a1fb453b82d95 /crates/ra_ide/src/syntax_highlighting | |
parent | 1527feb744c7911b6ca482554f0399d3ef0ebfdc (diff) |
Add self keyword semantic token type
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 09652a5b1..46c718c91 100644 --- a/crates/ra_ide/src/syntax_highlighting/tags.rs +++ b/crates/ra_ide/src/syntax_highlighting/tags.rs | |||
@@ -30,6 +30,7 @@ pub enum HighlightTag { | |||
30 | Macro, | 30 | Macro, |
31 | Module, | 31 | Module, |
32 | NumericLiteral, | 32 | NumericLiteral, |
33 | SelfKeyword, | ||
33 | SelfType, | 34 | SelfType, |
34 | Static, | 35 | Static, |
35 | StringLiteral, | 36 | StringLiteral, |
@@ -76,6 +77,7 @@ impl HighlightTag { | |||
76 | HighlightTag::Macro => "macro", | 77 | HighlightTag::Macro => "macro", |
77 | HighlightTag::Module => "module", | 78 | HighlightTag::Module => "module", |
78 | HighlightTag::NumericLiteral => "numeric_literal", | 79 | HighlightTag::NumericLiteral => "numeric_literal", |
80 | HighlightTag::SelfKeyword => "self_keyword", | ||
79 | HighlightTag::SelfType => "self_type", | 81 | HighlightTag::SelfType => "self_type", |
80 | HighlightTag::Static => "static", | 82 | HighlightTag::Static => "static", |
81 | HighlightTag::StringLiteral => "string_literal", | 83 | HighlightTag::StringLiteral => "string_literal", |