if polyglot#init#is_disabled(expand(':p'), 'yard', 'after/syntax/ruby.vim') finish endif " Ruby syntax extensions for highlighting YARD documentation. " " Author: Joel Holdbrooks " URI: https://github.com/noprompt/vim-yardoc " Version: 0.0.1 " " This file reuses the main yardoc syntax definitions and glues them together " with Vim's builtin ruby syntax groups runtime! after/syntax/yardoc_support.vim """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Yard glue to ruby """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" syn match rubyComment "#.*" contains=rubySharpBang,rubySpaceError,rubyTodo,@Spell,yardComment syn region rubyMultilineComment start="\%(\%(^\s*#.*\n\)\@