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:
parent
7142cdef1e
commit
b0f66c4732
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user