diff options
| -rw-r--r-- | src/etc/kate/rust.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml index 5ecab0d49c0..7fc1f76aee4 100644 --- a/src/etc/kate/rust.xml +++ b/src/etc/kate/rust.xml @@ -176,6 +176,7 @@ <RegExpr String="[0-9][0-9_]*(u8|u16|u32|u64|i8|i16|i32|i64|u|i)?" attribute="Number" context="#stay"/> <RegExpr String="&rustIdent;::" attribute="Scope"/> <RegExpr String="&rustIdent;!" attribute="Macro"/> + <RegExpr String="'&rustIdent;(?!')" attribute="Lifetime"/> <DetectChar char="{" attribute="Symbol" context="#stay" beginRegion="Brace" /> <DetectChar char="}" attribute="Symbol" context="#stay" endRegion="Brace" /> <DetectChar char=""" attribute="String" context="String"/> @@ -223,6 +224,7 @@ <itemData name="String Char" defStyleNum="dsChar" color="#FF0000"/> <itemData name="Character" defStyleNum="dsChar" color="#FF0000"/> <itemData name="Macro" defStyleNum="dsOthers"/> + <itemData name="Lifetime" defStyleNum="dsOthers" bold="1"/> </itemDatas> </highlighting> <general> |
