We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55de232 commit 94b0edcCopy full SHA for 94b0edc
src/etc/vim/syntax/rust.vim
@@ -56,8 +56,10 @@ syn case match
56
57
syn match rustCharacter "'\([^'\\]\|\\\(['nrt\\\"]\|x\x\{2}\|u\x\{4}\|U\x\{8}\)\)'"
58
59
-syn region rustComment start="/\*" end="\*/" contains=rustComment
60
-syn region rustComment start="//" skip="\\$" end="$" keepend
+syn region rustComment start="/\*" end="\*/" contains=rustComment,rustTodo
+syn region rustComment start="//" skip="\\$" end="$" contains=rustTodo keepend
61
+
62
+syn keyword rustTodo TODO FIXME XXX NB
63
64
hi def link rustString String
65
hi def link rustCharacter Character
0 commit comments