Skip to content

Commit 0de127c

Browse files
committed
---
yaml --- r: 48099 b: refs/heads/incoming c: 11d10fd h: refs/heads/master i: 48097: ef53ce6 48095: e79e589 v: v3
1 parent b03f27f commit 0de127c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 7ad20826636c102db338ecaf9f71f2aa8af5f631
9+
refs/heads/incoming: 11d10fdb092a02d4cad482ddd720a0330f31d299
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE language SYSTEM "language.dtd">
2+
<!DOCTYPE language SYSTEM "language.dtd"
3+
[
4+
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
5+
]>
36
<language name="Rust" version="0.4.0" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
47
<highlighting>
58
<list name="fn">
@@ -171,8 +174,8 @@
171174
<RegExpr String="0b[0-1_]+(u8|u16|u32|u64|i8|i16|i32|i64|u|i)?" attribute="Number" context="#stay"/>
172175
<RegExpr String="[0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute="Number" context="#stay"/>
173176
<RegExpr String="[0-9][0-9_]*(u8|u16|u32|u64|i8|i16|i32|i64|u|i)?" attribute="Number" context="#stay"/>
174-
<RegExpr String="[a-zA-Z_][a-zA-Z0-9_]*::" attribute="Scope"/>
175-
<RegExpr String="\w+!" attribute="Macro"/>
177+
<RegExpr String="&rustIdent;::" attribute="Scope"/>
178+
<RegExpr String="&rustIdent;!" attribute="Macro"/>
176179
<DetectChar char="{" attribute="Symbol" context="#stay" beginRegion="Brace" />
177180
<DetectChar char="}" attribute="Symbol" context="#stay" endRegion="Brace" />
178181
<DetectChar char="&quot;" attribute="String" context="String"/>

0 commit comments

Comments
 (0)