diff options
Diffstat (limited to 'crates/ra_ide_api/src/snapshots/tests__highlighting.snap')
-rw-r--r-- | crates/ra_ide_api/src/snapshots/tests__highlighting.snap | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/crates/ra_ide_api/src/snapshots/tests__highlighting.snap b/crates/ra_ide_api/src/snapshots/tests__highlighting.snap index 9d4c04db3..9c60aed2a 100644 --- a/crates/ra_ide_api/src/snapshots/tests__highlighting.snap +++ b/crates/ra_ide_api/src/snapshots/tests__highlighting.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-05-23T12:10:32.628883358Z" | 2 | created: "2019-05-23T22:23:35.242742395Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_ide_api/src/syntax_highlighting.rs | 4 | source: crates/ra_ide_api/src/syntax_highlighting.rs |
5 | expression: result | 5 | expression: result |
@@ -8,139 +8,139 @@ Ok( | |||
8 | [ | 8 | [ |
9 | HighlightedRange { | 9 | HighlightedRange { |
10 | range: [1; 24), | 10 | range: [1; 24), |
11 | tag: "attribute" | 11 | tag: "attribute", |
12 | }, | 12 | }, |
13 | HighlightedRange { | 13 | HighlightedRange { |
14 | range: [25; 31), | 14 | range: [25; 31), |
15 | tag: "keyword" | 15 | tag: "keyword", |
16 | }, | 16 | }, |
17 | HighlightedRange { | 17 | HighlightedRange { |
18 | range: [32; 35), | 18 | range: [32; 35), |
19 | tag: "function" | 19 | tag: "function", |
20 | }, | 20 | }, |
21 | HighlightedRange { | 21 | HighlightedRange { |
22 | range: [42; 45), | 22 | range: [42; 45), |
23 | tag: "keyword" | 23 | tag: "keyword", |
24 | }, | 24 | }, |
25 | HighlightedRange { | 25 | HighlightedRange { |
26 | range: [46; 47), | 26 | range: [46; 47), |
27 | tag: "function" | 27 | tag: "function", |
28 | }, | 28 | }, |
29 | HighlightedRange { | 29 | HighlightedRange { |
30 | range: [49; 52), | 30 | range: [49; 52), |
31 | tag: "text" | 31 | tag: "text", |
32 | }, | 32 | }, |
33 | HighlightedRange { | 33 | HighlightedRange { |
34 | range: [58; 61), | 34 | range: [58; 61), |
35 | tag: "keyword" | 35 | tag: "keyword", |
36 | }, | 36 | }, |
37 | HighlightedRange { | 37 | HighlightedRange { |
38 | range: [62; 63), | 38 | range: [62; 63), |
39 | tag: "function" | 39 | tag: "function", |
40 | }, | 40 | }, |
41 | HighlightedRange { | 41 | HighlightedRange { |
42 | range: [65; 68), | 42 | range: [65; 68), |
43 | tag: "text" | 43 | tag: "text", |
44 | }, | 44 | }, |
45 | HighlightedRange { | 45 | HighlightedRange { |
46 | range: [73; 75), | 46 | range: [73; 75), |
47 | tag: "keyword" | 47 | tag: "keyword", |
48 | }, | 48 | }, |
49 | HighlightedRange { | 49 | HighlightedRange { |
50 | range: [76; 79), | 50 | range: [76; 79), |
51 | tag: "function" | 51 | tag: "function", |
52 | }, | 52 | }, |
53 | HighlightedRange { | 53 | HighlightedRange { |
54 | range: [80; 81), | 54 | range: [80; 81), |
55 | tag: "type" | 55 | tag: "type", |
56 | }, | 56 | }, |
57 | HighlightedRange { | 57 | HighlightedRange { |
58 | range: [80; 81), | 58 | range: [80; 81), |
59 | tag: "function" | 59 | tag: "function", |
60 | }, | 60 | }, |
61 | HighlightedRange { | 61 | HighlightedRange { |
62 | range: [88; 89), | 62 | range: [88; 89), |
63 | tag: "type" | 63 | tag: "type", |
64 | }, | 64 | }, |
65 | HighlightedRange { | 65 | HighlightedRange { |
66 | range: [96; 110), | 66 | range: [96; 110), |
67 | tag: "macro" | 67 | tag: "macro", |
68 | }, | 68 | }, |
69 | HighlightedRange { | 69 | HighlightedRange { |
70 | range: [117; 127), | 70 | range: [117; 127), |
71 | tag: "comment" | 71 | tag: "comment", |
72 | }, | 72 | }, |
73 | HighlightedRange { | 73 | HighlightedRange { |
74 | range: [128; 130), | 74 | range: [128; 130), |
75 | tag: "keyword" | 75 | tag: "keyword", |
76 | }, | 76 | }, |
77 | HighlightedRange { | 77 | HighlightedRange { |
78 | range: [131; 135), | 78 | range: [131; 135), |
79 | tag: "function" | 79 | tag: "function", |
80 | }, | 80 | }, |
81 | HighlightedRange { | 81 | HighlightedRange { |
82 | range: [145; 153), | 82 | range: [145; 153), |
83 | tag: "macro" | 83 | tag: "macro", |
84 | }, | 84 | }, |
85 | HighlightedRange { | 85 | HighlightedRange { |
86 | range: [154; 166), | 86 | range: [154; 166), |
87 | tag: "string" | 87 | tag: "string", |
88 | }, | 88 | }, |
89 | HighlightedRange { | 89 | HighlightedRange { |
90 | range: [168; 170), | 90 | range: [168; 170), |
91 | tag: "literal" | 91 | tag: "literal", |
92 | }, | 92 | }, |
93 | HighlightedRange { | 93 | HighlightedRange { |
94 | range: [178; 181), | 94 | range: [178; 181), |
95 | tag: "keyword" | 95 | tag: "keyword", |
96 | }, | 96 | }, |
97 | HighlightedRange { | 97 | HighlightedRange { |
98 | range: [182; 185), | 98 | range: [182; 185), |
99 | tag: "keyword" | 99 | tag: "keyword", |
100 | }, | 100 | }, |
101 | HighlightedRange { | 101 | HighlightedRange { |
102 | range: [186; 189), | 102 | range: [186; 189), |
103 | tag: "macro" | 103 | tag: "macro", |
104 | }, | 104 | }, |
105 | HighlightedRange { | 105 | HighlightedRange { |
106 | range: [197; 200), | 106 | range: [197; 200), |
107 | tag: "macro" | 107 | tag: "macro", |
108 | }, | 108 | }, |
109 | HighlightedRange { | 109 | HighlightedRange { |
110 | range: [192; 195), | 110 | range: [192; 195), |
111 | tag: "text" | 111 | tag: "text", |
112 | }, | 112 | }, |
113 | HighlightedRange { | 113 | HighlightedRange { |
114 | range: [208; 211), | 114 | range: [208; 211), |
115 | tag: "macro" | 115 | tag: "macro", |
116 | }, | 116 | }, |
117 | HighlightedRange { | 117 | HighlightedRange { |
118 | range: [212; 216), | 118 | range: [212; 216), |
119 | tag: "macro" | 119 | tag: "macro", |
120 | }, | 120 | }, |
121 | HighlightedRange { | 121 | HighlightedRange { |
122 | range: [226; 227), | 122 | range: [226; 227), |
123 | tag: "literal" | 123 | tag: "literal", |
124 | }, | 124 | }, |
125 | HighlightedRange { | 125 | HighlightedRange { |
126 | range: [232; 233), | 126 | range: [232; 233), |
127 | tag: "literal" | 127 | tag: "literal", |
128 | }, | 128 | }, |
129 | HighlightedRange { | 129 | HighlightedRange { |
130 | range: [242; 248), | 130 | range: [242; 248), |
131 | tag: "keyword.unsafe" | 131 | tag: "keyword.unsafe", |
132 | }, | 132 | }, |
133 | HighlightedRange { | 133 | HighlightedRange { |
134 | range: [251; 254), | 134 | range: [251; 254), |
135 | tag: "text" | 135 | tag: "text", |
136 | }, | 136 | }, |
137 | HighlightedRange { | 137 | HighlightedRange { |
138 | range: [255; 262), | 138 | range: [255; 262), |
139 | tag: "text" | 139 | tag: "text", |
140 | }, | 140 | }, |
141 | HighlightedRange { | 141 | HighlightedRange { |
142 | range: [263; 264), | 142 | range: [263; 264), |
143 | tag: "literal" | 143 | tag: "literal", |
144 | } | 144 | }, |
145 | ] | 145 | ], |
146 | ) | 146 | ) |