From 6c7291ece47d0b263a3d3dadbda2ff7d034f705f Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Wed, 7 Jan 2015 20:19:58 +1100 Subject: Update editor syntax files for isize/usize. Yay, syntax highlighting. --- src/etc/vim/syntax/rust.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc/vim/syntax/rust.vim') diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index dce6d3f6687..678cb3e1602 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -59,7 +59,7 @@ syn match rustMacroVariable "$\w\+" syn keyword rustReservedKeyword alignof be do offsetof priv pure sizeof typeof unsized yield abstract final override macro " Built-in types {{{2 -syn keyword rustType int uint float char bool u8 u16 u32 u64 f32 +syn keyword rustType int isize uint usize float char bool u8 u16 u32 u64 f32 syn keyword rustType f64 i8 i16 i32 i64 str Self " Things from the prelude (src/libstd/prelude.rs) {{{2 -- cgit 1.4.1-3-g733a5