Browse files

Merge pull request #116 from irrationalfab/yard-todo

Added support for YARD todos.
  • Loading branch information...
2 parents 680d1ea + bda2858 commit 7a019bb94683285400174775da81f2006a65cca3 @AndrewRadev AndrewRadev committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/ruby.vim
2 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 7a019bb

Please sign in to comment.