let g:quickrun_config['ruby.rspec'] = {'command': 'rspec', 'cmdopt': '--format progress -I .', 'outputter': 'buffer:filetype=rspec-result'} if exists("b:current_syntax") finish endif if !exists("main_syntax") let main_syntax = 'rspec-result' endif syntax case match syntax match RSpecGreen /^\.*$/ syntax match RSpecRed /^[F.]*F[F.]*$/ syntax match RSpecGreen /^.* 0 failure.*$/ syntax match RSpecRed