Skip to content

Commit 8ead94b

Browse files
committed
---
yaml --- r: 47418 b: refs/heads/try c: 6002d10 h: refs/heads/master v: v3
1 parent d26731a commit 8ead94b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: 4548eb1a2921ec8302b11bf5f3195c93cf66c2da
5+
refs/heads/try: 6002d10ce3384e56973abc354979052aadcfcda7
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
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"/>
206207
<RegExpr String="&rustIdent;::" attribute="Scope"/>
207208
<RegExpr String="&rustIdent;!" attribute="Macro"/>
208209
<RegExpr String="&apos;&rustIdent;(?!&apos;)" attribute="Lifetime"/>
@@ -212,6 +213,10 @@
212213
<DetectChar char="&apos;" attribute="Character" context="Character"/>
213214
<DetectIdentifier/>
214215
</context>
216+
<context attribute="Attribute" lineEndContext="#stay" name="Attribute">
217+
<IncludeRules context="Normal"/>
218+
<DetectChar char="]" attribute="Attribute" context="#pop"/>
219+
</context>
215220
<context attribute="Definition" lineEndContext="#stay" name="Function">
216221
<DetectSpaces/>
217222
<DetectChar char="(" attribute="Normal Text" context="#pop"/>
@@ -254,6 +259,7 @@
254259
<itemData name="String Char" defStyleNum="dsChar" color="#FF0000"/>
255260
<itemData name="Character" defStyleNum="dsChar" color="#FF0000"/>
256261
<itemData name="Macro" defStyleNum="dsOthers"/>
262+
<itemData name="Attribute" defStyleNum="dsOthers"/>
257263
<itemData name="Lifetime" defStyleNum="dsOthers" bold="1"/>
258264
</itemDatas>
259265
</highlighting>

0 commit comments

Comments
 (0)