]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/syntax/vim-rspec.vim
4f063a285563280eaf8023d848d93f75960870e0
[rbdr/dotfiles] / vim / syntax / vim-rspec.vim
1 syntax match rspecHeader /^*/
2 syntax match rspecTitle /^\[.\+/
3 syntax match rspecOk /^+.\+/
4 syntax match rspecError /^-.\+/
5 syntax match rspecErrorDetail /^ \w.\+/
6 syntax match rspecErrorURL /^ \/.\+/
7 syntax match rspecNotImplemented /^#.\+/
8 syntax match rspecCode /^ \d\+:/
9
10 highlight link rspecHeader Type
11 highlight link rspecTitle Identifier
12 highlight link rspecOk Tag
13 highlight link rspecError Error
14 highlight link rspecErrorDetail Constant
15 highlight link rspecErrorURL PreProc
16 highlight link rspecNotImplemented Todo
17 highlight link rspecCode Type