highlight macro idents

This commit is contained in:
Aleksey Kladov 2018-12-28 17:39:12 +03:00
parent 406505e096
commit d7440a5f49
3 changed files with 35 additions and 5 deletions

View file

@ -108,7 +108,7 @@ mod tests {
assert_eq_dbg(
r#"[HighlightedRange { range: [13; 15), tag: "keyword" },
HighlightedRange { range: [16; 20), tag: "function" },
HighlightedRange { range: [41; 45), tag: "text" },
HighlightedRange { range: [41; 46), tag: "macro" },
HighlightedRange { range: [49; 52), tag: "keyword" },
HighlightedRange { range: [57; 59), tag: "literal" },
HighlightedRange { range: [49; 52), tag: "keyword" },