vim: hilight old style #macros
This commit is contained in:
parent
9258053b5c
commit
b50279ba94
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue