diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-17 18:24:00 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-17 20:03:14 -0400 |
| commit | 06c42b77d39ff0fa2e04b46aa7bc81bef0c1cfac (patch) | |
| tree | e524f5009fa4901a92742faa15bf22fab048b3cc /src/etc/vim/syntax/rust.vim | |
| parent | b71a8827e3a17720508b7edebdc2c13358179e59 (diff) | |
| download | rust-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.vim | 4 |
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 |
