Browse files

Added support for YARD todos.

  • Loading branch information...
fabiopelosin committed Nov 28, 2012
1 parent c61accb commit bda28584f7a483f41f81a8ac94fbafdce30cee88
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/ruby.vim
@@ -270,7 +270,7 @@ endif
" Comments and Documentation
syn match rubySharpBang "\%^#!.*" display
-syn keyword rubyTodo FIXME NOTE TODO OPTIMIZE XXX contained
+syn keyword rubyTodo FIXME NOTE TODO OPTIMIZE XXX todo contained
syn match rubyComment "#.*" contains=rubySharpBang,rubySpaceError,rubyTodo,@Spell
if !exists("ruby_no_comment_fold")
syn region rubyMultilineComment start="\%(\%(^\s*#.*\n\)\@<!\%(^\s*#.*\n\)\)\%(\(^\s*#.*\n\)\{1,}\)\@=" end="\%(^\s*#.*\n\)\@<=\%(^\s*#.*\n\)\%(^\s*#\)\@!" contains=rubyComment transparent fold keepend

0 comments on commit bda2858

Please sign in to comment.