diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:05:44 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:05:44 +0200 |
commit | 610f4c570123510f2d6f4c5799d880d8581126cf (patch) | |
tree | a2bbc1de1fbdd22e2b2eb4d4d2447b3cc8467fba /syntax/rust.vim | |
parent | f3833f5a39b91f1e42f12e45a2e61e351218c495 (diff) | |
download | vim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.tar.gz vim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.zip |
Update
Diffstat (limited to 'syntax/rust.vim')
-rw-r--r-- | syntax/rust.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/syntax/rust.vim b/syntax/rust.vim index 9c8e5b5d..dd631b19 100644 --- a/syntax/rust.vim +++ b/syntax/rust.vim @@ -52,7 +52,7 @@ syn keyword rustType f64 i8 i16 i32 i64 str Self " to make it easy to update. " Core operators {{{3 -syn keyword rustTrait Freeze Pod Send Sized +syn keyword rustTrait Share Copy Send Sized syn keyword rustTrait Add Sub Mul Div Rem Neg Not syn keyword rustTrait BitAnd BitOr BitXor syn keyword rustTrait Drop @@ -72,7 +72,7 @@ syn keyword rustTrait Any AnyOwnExt AnyRefExt AnyMutRefExt syn keyword rustTrait Ascii AsciiCast OwnedAsciiCast AsciiStr IntoBytes syn keyword rustTrait ToCStr syn keyword rustTrait Char -syn keyword rustTrait Clone DeepClone +syn keyword rustTrait Clone syn keyword rustTrait Eq Ord TotalEq TotalOrd Ordering Equiv syn keyword rustEnumVariant Less Equal Greater syn keyword rustTrait Container Mutable Map MutableMap Set MutableSet @@ -135,7 +135,7 @@ syn match rustStringContinuation display contained /\\\n\s*/ syn region rustString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=rustSpecial,rustSpecialError,rustStringContinuation,@Spell syn region rustString start='r\z(#*\)"' end='"\z1' contains=@Spell -syn region rustAttribute start="#\[" end="\]" contains=rustString,rustDeriving +syn region rustAttribute start="#!\?\[" end="\]" contains=rustString,rustDeriving syn region rustDeriving start="deriving(" end=")" contained contains=rustTrait " Number literals |