about summary refs log tree commit diff
path: root/src/etc/vim/syntax/rust.vim
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-07-17 18:24:00 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-07-17 20:03:14 -0400
commit06c42b77d39ff0fa2e04b46aa7bc81bef0c1cfac (patch)
treee524f5009fa4901a92742faa15bf22fab048b3cc /src/etc/vim/syntax/rust.vim
parentb71a8827e3a17720508b7edebdc2c13358179e59 (diff)
downloadrust-06c42b77d39ff0fa2e04b46aa7bc81bef0c1cfac.tar.gz
rust-06c42b77d39ff0fa2e04b46aa7bc81bef0c1cfac.zip
vim rustFuncCall contains rustAssert
Diffstat (limited to 'src/etc/vim/syntax/rust.vim')
-rw-r--r--src/etc/vim/syntax/rust.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim
index f50287baaa9..80ca97f95bd 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::<T>();
+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::<T>();
 
 syn region    rustString      start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo