File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 203
203
<RegExpr String =" 0b[0-1_]+&rustIntSuf; " attribute =" Number" context =" #stay" />
204
204
<RegExpr String =" [0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute =" Number" context =" #stay" />
205
205
<RegExpr String =" [0-9][0-9_]*&rustIntSuf; " attribute =" Number" context =" #stay" />
206
+ <Detect2Chars char =" #" char1 =" [" attribute =" Attribute" context =" Attribute" />
206
207
<RegExpr String =" &rustIdent; ::" attribute =" Scope" />
207
208
<RegExpr String =" &rustIdent; !" attribute =" Macro" />
208
209
<RegExpr String =" '&rustIdent; (?!' )" attribute =" Lifetime" />
212
213
<DetectChar char =" ' " attribute =" Character" context =" Character" />
213
214
<DetectIdentifier />
214
215
</context >
216
+ <context attribute =" Attribute" lineEndContext =" #stay" name =" Attribute" >
217
+ <IncludeRules context =" Normal" />
218
+ <DetectChar char =" ]" attribute =" Attribute" context =" #pop" />
219
+ </context >
215
220
<context attribute =" Definition" lineEndContext =" #stay" name =" Function" >
216
221
<DetectSpaces />
217
222
<DetectChar char =" (" attribute =" Normal Text" context =" #pop" />
254
259
<itemData name =" String Char" defStyleNum =" dsChar" color =" #FF0000" />
255
260
<itemData name =" Character" defStyleNum =" dsChar" color =" #FF0000" />
256
261
<itemData name =" Macro" defStyleNum =" dsOthers" />
262
+ <itemData name =" Attribute" defStyleNum =" dsOthers" />
257
263
<itemData name =" Lifetime" defStyleNum =" dsOthers" bold =" 1" />
258
264
</itemDatas >
259
265
</highlighting >
You can’t perform that action at this time.
0 commit comments