diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-26 21:18:45 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-26 21:20:02 -0400 |
| commit | b50279ba94840c8c82f0aa50b8cb6a457505bdb2 (patch) | |
| tree | 7167d054ed887a19acb272100dc44da332fe6d7b /src/etc | |
| parent | 9258053b5cce6dc752d57df2e0af14a335dfe7a4 (diff) | |
| download | rust-b50279ba94840c8c82f0aa50b8cb6a457505bdb2.tar.gz rust-b50279ba94840c8c82f0aa50b8cb6a457505bdb2.zip | |
vim: hilight old style #macros
Diffstat (limited to 'src/etc')
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 596c030f96d..9eb18ec6e57 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -70,6 +70,7 @@ 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 match rustMacro '\w\(\w\)*!' +syn match rustMacro '#\w\(\w\)*' syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo |
