vim: mark Todo as contained and rm unsafe from it

It's nice to make unsafe stand out, but this way isn't correct because it
highlights it in comments.
This commit is contained in:
Daniel Micay 2013-03-30 17:31:54 -04:00
parent 7142cdef1e
commit b0f66c4732

View File

@ -109,8 +109,7 @@ syn match rustCharacter "'\([^'\\]\|\\\(['nrt\\\"]\|x\x\{2}\|u\x\{4}\|U\x\{8
syn region rustComment start="/\*" end="\*/" contains=rustComment,rustTodo
syn region rustComment start="//" skip="\\$" end="$" contains=rustTodo keepend
syn keyword rustTodo TODO FIXME XXX NB unsafe
syn keyword rustTodo contained TODO FIXME XXX NB
hi def link rustHexNumber rustNumber
hi def link rustBinNumber rustNumber