aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/snapshots/tests__highlighting.snap
blob: 72029e0ed27bb526b4ea5736c1a9596b21c26345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
created: "2019-03-23T16:20:31.394314144Z"
creator: [email protected]
source: crates/ra_ide_api/src/syntax_highlighting.rs
expression: result
---
Ok(
    [
        HighlightedRange {
            range: [1; 11),
            tag: "comment"
        },
        HighlightedRange {
            range: [12; 14),
            tag: "keyword"
        },
        HighlightedRange {
            range: [15; 19),
            tag: "function"
        },
        HighlightedRange {
            range: [29; 37),
            tag: "macro"
        },
        HighlightedRange {
            range: [38; 50),
            tag: "string"
        },
        HighlightedRange {
            range: [52; 54),
            tag: "literal"
        }
    ]
)