diff options
author | Aleksey Kladov <[email protected]> | 2018-12-28 14:39:12 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-28 15:17:43 +0000 |
commit | d7440a5f4928415f2d2a9f7b2badaff8a9376a09 (patch) | |
tree | 077bd8c5306efc0d0df6d33224a17ac9e6353711 /crates/ra_analysis | |
parent | 406505e096b4e6626ba8eb6c035671783ed2a577 (diff) |
highlight macro idents
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r-- | crates/ra_analysis/src/syntax_highlighting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/syntax_highlighting.rs b/crates/ra_analysis/src/syntax_highlighting.rs index 80f51a09c..98551df8f 100644 --- a/crates/ra_analysis/src/syntax_highlighting.rs +++ b/crates/ra_analysis/src/syntax_highlighting.rs | |||
@@ -108,7 +108,7 @@ mod tests { | |||
108 | assert_eq_dbg( | 108 | assert_eq_dbg( |
109 | r#"[HighlightedRange { range: [13; 15), tag: "keyword" }, | 109 | r#"[HighlightedRange { range: [13; 15), tag: "keyword" }, |
110 | HighlightedRange { range: [16; 20), tag: "function" }, | 110 | HighlightedRange { range: [16; 20), tag: "function" }, |
111 | HighlightedRange { range: [41; 45), tag: "text" }, | 111 | HighlightedRange { range: [41; 46), tag: "macro" }, |
112 | HighlightedRange { range: [49; 52), tag: "keyword" }, | 112 | HighlightedRange { range: [49; 52), tag: "keyword" }, |
113 | HighlightedRange { range: [57; 59), tag: "literal" }, | 113 | HighlightedRange { range: [57; 59), tag: "literal" }, |
114 | HighlightedRange { range: [49; 52), tag: "keyword" }, | 114 | HighlightedRange { range: [49; 52), tag: "keyword" }, |