From 84bc74e54a2d46f87c4205b99e78c2ce3ef9c881 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Fri, 5 Oct 2012 20:18:19 -0400 Subject: [PATCH] update Kate syntax file with latest keywords and types --- src/etc/kate/rust.xml | 57 +++++++++++++++---------------------------- 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml index b93479677eeaa..16a205ddc161b 100644 --- a/src/etc/kate/rust.xml +++ b/src/etc/kate/rust.xml @@ -1,6 +1,6 @@ - + fn @@ -9,59 +9,39 @@ type - alt - again as assert break - check - claim const copy do drop else + enum export extern - f16 - f80 - f128 fail for if impl - import - in let log loop - m32 - m64 - m128 match mod - module move mut - new - of - owned priv pub pure - ret + ref return - to - unchecked + static + struct + trait unsafe use while - with - mod - trait - class - struct - enum bool @@ -80,8 +60,9 @@ float char str - option - either + Either + Option + Result c_float @@ -121,16 +102,16 @@ true false - some - none - left - right - ok - err - success - failure - cons - nil + Some + None + Left + Right + Ok + Err + Success + Failure + Cons + Nil EXIT_FAILURE