Skip to content

Commit c4dfcf2

Browse files
committed
---
yaml --- r: 46699 b: refs/heads/auto c: 39b713f h: refs/heads/master i: 46697: 8576a62 46695: ca13e8d v: v3
1 parent 676c4d6 commit c4dfcf2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: c43512be2ece14ad661a464b5252db8a2a25b31a
17+
refs/heads/auto: 39b713f93ede9c5f8d6ef7bbac3e50a64518389c

branches/auto/src/etc/kate/rust.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,19 +203,21 @@
203203
<RegExpr String="0b[0-1_]+&rustIntSuf;" attribute="Number" context="#stay"/>
204204
<RegExpr String="[0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute="Number" context="#stay"/>
205205
<RegExpr String="[0-9][0-9_]*&rustIntSuf;" attribute="Number" context="#stay"/>
206-
<Detect2Chars char="#" char1="[" attribute="Attribute" context="Attribute"/>
206+
<Detect2Chars char="#" char1="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
207207
<RegExpr String="&rustIdent;::" attribute="Scope"/>
208208
<RegExpr String="&rustIdent;!" attribute="Macro"/>
209209
<RegExpr String="&apos;&rustIdent;(?!&apos;)" attribute="Lifetime"/>
210210
<DetectChar char="{" attribute="Symbol" context="#stay" beginRegion="Brace" />
211211
<DetectChar char="}" attribute="Symbol" context="#stay" endRegion="Brace" />
212212
<DetectChar char="&quot;" attribute="String" context="String"/>
213213
<DetectChar char="&apos;" attribute="Character" context="Character"/>
214+
<DetectChar char="[" attribute="Symbol" context="#stay" beginRegion="Bracket" />
215+
<DetectChar char="]" attribute="Symbol" context="#stay" endRegion="Bracket" />
214216
<DetectIdentifier/>
215217
</context>
216218
<context attribute="Attribute" lineEndContext="#stay" name="Attribute">
219+
<DetectChar char="]" attribute="Attribute" context="#pop" endRegion="Attribute"/>
217220
<IncludeRules context="Normal"/>
218-
<DetectChar char="]" attribute="Attribute" context="#pop"/>
219221
</context>
220222
<context attribute="Definition" lineEndContext="#stay" name="Function">
221223
<DetectSpaces/>

0 commit comments

Comments
 (0)