diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 596c030f96df..9eb18ec6e57e 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::(); syn match rustMacro '\w\(\w\)*!' +syn match rustMacro '#\w\(\w\)*' syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo