Skip to content

Commit 2a67368

Browse files
authored
Highlight SAFETY comments (rust-lang#418)
1 parent f24b96b commit 2a67368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ syn region rustCommentBlockDocNestError matchgroup=rustCommentBlockDocError star
229229
" then you must deal with cases like ``/*/**/*/``. And don't try making it
230230
" worse with ``\%(/\@<!\*\)\@<!``, either...
231231

232-
syn keyword rustTodo contained TODO FIXME XXX NB NOTE
232+
syn keyword rustTodo contained TODO FIXME XXX NB NOTE SAFETY
233233

234234
" asm! macro {{{2
235235
syn region rustAsmMacro matchgroup=rustMacro start="\<asm!\s*(" end=")" contains=rustAsmDirSpec,rustAsmSym,rustAsmConst,rustAsmOptionsGroup,rustComment.*,rustString.*

0 commit comments

Comments
 (0)