Skip to content

Commit

Permalink
Merge pull request vim-ruby#116 from irrationalfab/yard-todo
Browse files Browse the repository at this point in the history
Added support for YARD todos.
  • Loading branch information
AndrewRadev committed Dec 9, 2012
2 parents 680d1ea + bda2858 commit 7a019bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/ruby.vim
Expand Up @@ -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
Expand Down

0 comments on commit 7a019bb

Please sign in to comment.