提交 b0f66c47 编写于 作者: D Daniel Micay

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.
上级 7142cdef
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册