Skip to content

Commit c6e19ae

Browse files
committed
fix kate syntax highlighting
1 parent b2b2bbb commit c6e19ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/kate/rust.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
<RegExpr String="[0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute="Number" context="#stay"/>
203203
<RegExpr String="[0-9][0-9_]*&rustIntSuf;" attribute="Number" context="#stay"/>
204204
<Detect2Chars char="#" char1="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
205-
<Detect2Chars char="#" char1="!" char2="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
205+
<StringDetect String="#![" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>
206206
<RegExpr String="&rustIdent;::" attribute="Scope"/>
207207
<RegExpr String="&rustIdent;!" attribute="Macro"/>
208208
<RegExpr String="&apos;&rustIdent;(?!&apos;)" attribute="Lifetime"/>

0 commit comments

Comments
 (0)