Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View rust-kate-highlighting.patch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
--- /usr/share/apps/katepart/syntax/rust.xml 2013-07-04 04:22:11.000000000 +0200
+++ /home/phil/.kde4/share/apps/katepart/syntax/rust.xml 2013-07-05 21:24:49.000000000 +0200
@@ -7,7 +7,7 @@
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
]>
-<language name="Rust" version="0.7" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
+<language name="Rust" version="0.8" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
<highlighting>
<list name="fn">
<item> fn </item>
@@ -252,23 +252,23 @@
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
- <itemData name="Keyword" defStyleNum="dsKeyword" color="#770088" bold="1"/>
- <itemData name="Self" defStyleNum="dsKeyword" color="#FF0000" bold="1"/>
- <itemData name="Type" defStyleNum="dsKeyword" color="#4e9a06" bold="1"/>
- <itemData name="Trait" defStyleNum="dsKeyword" color="#4e9a06" bold="1"/>
- <itemData name="CType" defStyleNum="dsNormal" color="#4e9a06"/>
- <itemData name="Constant" defStyleNum="dsKeyword" color="#116644"/>
- <itemData name="CConstant" defStyleNum="dsNormal" color="#116644"/>
- <itemData name="Definition" defStyleNum="dsNormal" color="#0000FF"/>
- <itemData name="Comment" defStyleNum="dsComment" color="#AA5500"/>
- <itemData name="Scope" defStyleNum="dsNormal" color="#0055AA"/>
- <itemData name="Number" defStyleNum="dsDecVal" color="#116644"/>
- <itemData name="String" defStyleNum="dsString" color="#FF0000"/>
- <itemData name="CharEscape" defStyleNum="dsChar" color="#FF0000" bold="1"/>
- <itemData name="Character" defStyleNum="dsChar" color="#FF0000"/>
- <itemData name="Macro" defStyleNum="dsOthers"/>
- <itemData name="Attribute" defStyleNum="dsOthers"/>
- <itemData name="Lifetime" defStyleNum="dsOthers" bold="1"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Self" defStyleNum="dsKeyword" bold="1" italic="1"/>
+ <itemData name="Trait" defStyleNum="dsDataType" bold="1"/>
+ <itemData name="Type" defStyleNum="dsDataType" bold="1"/>
+ <itemData name="CType" defStyleNum="dsDataType" bold="1" italic="1"/>
+ <itemData name="Constant" defStyleNum="dsOthers" bold="1"/>
+ <itemData name="CConstant" defStyleNum="dsOthers" bold="1" italic="1"/>
+ <itemData name="Definition" defStyleNum="dsFunction"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ <itemData name="Scope" defStyleNum="dsOthers"/>
+ <itemData name="Number" defStyleNum="dsDecVal"/>
+ <itemData name="String" defStyleNum="dsString"/>
+ <itemData name="CharEscape" defStyleNum="dsChar" bold="1"/>
+ <itemData name="Character" defStyleNum="dsChar"/>
+ <itemData name="Macro" defStyleNum="dsRegionMarker"/>
+ <itemData name="Attribute" defStyleNum="dsRegionMarker"/>
+ <itemData name="Lifetime" defStyleNum="dsRegionMarker" bold="1"/>
<itemData name="Error" defStyleNum="dsError"/>
</itemDatas>
</highlighting>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.