From 06c42b77d39ff0fa2e04b46aa7bc81bef0c1cfac Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Tue, 17 Jul 2012 18:24:00 -0400 Subject: [PATCH] vim rustFuncCall contains rustAssert --- src/etc/vim/syntax/rust.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index f50287baaa95..80ca97f95bd1 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -66,8 +66,8 @@ syn keyword rustConstant STDIN_FILENO STDOUT_FILENO STDERR_FILENO syn match rustModPath "\w\(\w\)*::[^<]"he=e-3,me=e-3 syn match rustModPathSep "::" -syn match rustFuncCall "\w\(\w\)*("he=e-1,me=e-1 -syn match rustFuncCall "\w\(\w\)*::<"he=e-3,me=e-3 " foo::(); +syn match rustFuncCall "\w\(\w\)*("he=e-1,me=e-1 contains=rustAssert +syn match rustFuncCall "\w\(\w\)*::<"he=e-3,me=e-3 contains=rustAssert " foo::(); syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo