about summary refs log tree commit diff
path: root/src/etc
diff options
context:
space:
mode:
authorHeroesGrave <heroesgrave@gmail.com>2014-04-06 09:51:30 +1200
committerHeroesGrave <heroesgrave@gmail.com>2014-04-06 09:52:08 +1200
commitc6e19ae956057eaf0caa459c3ea5e1279054ab64 (patch)
tree7e69ba9f54f886536e4346280cffe1c4f69b2e2d /src/etc
parentb2b2bbb62893b9655f65cb2813eaaba4f2e742dd (diff)
downloadrust-c6e19ae956057eaf0caa459c3ea5e1279054ab64.tar.gz
rust-c6e19ae956057eaf0caa459c3ea5e1279054ab64.zip
fix kate syntax highlighting
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/kate/rust.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml
index 7fc44ebad29..367d2738ab3 100644
--- a/src/etc/kate/rust.xml
+++ b/src/etc/kate/rust.xml
@@ -202,7 +202,7 @@
 			<RegExpr String="[0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute="Number" context="#stay"/>
 			<RegExpr String="[0-9][0-9_]*&rustIntSuf;" attribute="Number" context="#stay"/>
 			<Detect2Chars char="#" char1="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
-			<Detect2Chars char="#" char1="!" char2="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
+			<StringDetect String="#![" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
 			<RegExpr String="&rustIdent;::" attribute="Scope"/>
 			<RegExpr String="&rustIdent;!" attribute="Macro"/>
 			<RegExpr String="&apos;&rustIdent;(?!&apos;)" attribute="Lifetime"/>