From 438d764245375b4c5a0d22b2dcc5755acb368491 Mon Sep 17 00:00:00 2001 From: Hidehito Yabuuchi Date: Sun, 24 Sep 2017 10:25:21 +0900 Subject: [PATCH 1/2] Add 'proc' to reserved keywords set --- syntax/rust.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/rust.vim b/syntax/rust.vim index 9b94729a..e457be1a 100644 --- a/syntax/rust.vim +++ b/syntax/rust.vim @@ -70,7 +70,7 @@ syn match rustMacroRepeatCount ".\?[*+]" contained syn match rustMacroVariable "$\w\+" " Reserved (but not yet used) keywords {{{2 -syn keyword rustReservedKeyword alignof become do offsetof priv pure sizeof typeof unsized abstract virtual final override +syn keyword rustReservedKeyword abstract alignof become do final offsetof override priv proc pure sizeof typeof unsized virtual " Built-in types {{{2 syn keyword rustType isize usize char bool u8 u16 u32 u64 u128 f32 From 3be3424385c93e6c73747d70fde2b7e964aea1fb Mon Sep 17 00:00:00 2001 From: Hidehito Yabuuchi Date: Sun, 24 Sep 2017 10:29:25 +0900 Subject: [PATCH 2/2] Update date of 'syntax/rust.vim' --- syntax/rust.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/rust.vim b/syntax/rust.vim index e457be1a..9780c6d0 100644 --- a/syntax/rust.vim +++ b/syntax/rust.vim @@ -3,7 +3,7 @@ " Maintainer: Patrick Walton " Maintainer: Ben Blum " Maintainer: Chris Morgan -" Last Change: Feb 24, 2016 +" Last Change: Sep 24, 2017 " For bugs, patches and license go to https://github.com/rust-lang/rust.vim if version < 600