File tree 3 files changed +3
-2
lines changed
gedit/share/gtksourceview-3.0/language-specs
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 122
122
; ; but the "else" or "{" should align with the beginning
123
123
; ; of the expression it's in.)
124
124
(looking-at " \\ <else\\ >\\ |{" )
125
-
125
+
126
126
(save-excursion
127
127
(rust-rewind-irrelevant)
128
128
; ; Point is now at the end of the previous ine
Original file line number Diff line number Diff line change 282
282
</context >
283
283
284
284
<context id =" attribute" style-ref =" attribute" class =" attribute" >
285
- <start extended =" true" >\#\[</start >
285
+ <start extended =" true" >\#!? \[</start >
286
286
<end >\]</end >
287
287
<include >
288
288
<context ref =" def:in-comment" />
Original file line number Diff line number Diff line change 202
202
<RegExpr String =" [0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute =" Number" context =" #stay" />
203
203
<RegExpr String =" [0-9][0-9_]*&rustIntSuf; " attribute =" Number" context =" #stay" />
204
204
<Detect2Chars char =" #" char1 =" [" attribute =" Attribute" context =" Attribute" beginRegion =" Attribute" />
205
+ <Detect2Chars char =" #" char1 =" !" char2 =" [" attribute =" Attribute" context =" Attribute" beginRegion =" Attribute" />
205
206
<RegExpr String =" &rustIdent; ::" attribute =" Scope" />
206
207
<RegExpr String =" &rustIdent; !" attribute =" Macro" />
207
208
<RegExpr String =" '&rustIdent; (?!' )" attribute =" Lifetime" />
You can’t perform that action at this time.
0 commit comments