Use my own fork of rspec.vim to properly detect spec file

This commit is contained in:
Adam Stankiewicz
2013-09-17 02:43:05 +02:00
parent fc0b11afe1
commit 9d92f10375
4 changed files with 35 additions and 22 deletions

View File

@@ -1,21 +0,0 @@
syntax match rspecHeader /^*.*/
syntax match rspecTitle /^\[.\+/
syntax match rspecOk /^+.\+/
syntax match rspecOk /PASS.\+/
syntax match rspecError /^-.\+/
syntax match rspecError /FAIL.\+/
syntax match rspecError /^|.\+/
syntax match rspecErrorDetail /^ \w.\+/
syntax match rspecErrorURL /^ \/.\+/
syntax match rspecNotImplemented /^#.\+/
syntax match rspecCode /^ \d\+:/
syntax match rspecNotImplemented /Example disabled.*/
highlight link rspecHeader Identifier
highlight link rspecTitle Identifier
highlight link rspecOk Statement
highlight link rspecError Error
highlight link rspecErrorDetail Constant
highlight link rspecErrorURL PreProc
highlight link rspecNotImplemented Todo
highlight link rspecCode Type