Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aereal
committed
Mar 5, 2012
1 parent
c06e830
commit d699be1
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
au BufNewFile,BufRead *_spec.rb set ft+=.rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
syn keyword rspecBefore before | |||
syn keyword rspecAfter after | |||
syn keyword rspecAround around | |||
syn keyword rspecSubject subject | |||
syn keyword rspecExampleGroup describe context shared_examples shared_context | |||
|
|||
syn keyword rspecExample it its specify | |||
syn keyword rspecExample it_behaves_like | |||
syn keyword rspecExample it_should_behaves_like | |||
syn keyword rspecExample include_examples | |||
|
|||
syn keyword rspecPending pending | |||
syn keyword rspecLet let | |||
|
|||
syn keyword rspecExpectation should should_not to to_not not_to | |||
|
|||
hi def link rspecBefore rspecFilter | |||
hi def link rspecAfter rspecFilter | |||
hi def link rspecAround rspecFilter | |||
hi def link rspecSubject rspecStructure | |||
hi def link rspecExampleGroup rspecStructure | |||
hi def link rspecExample rspecStructure | |||
hi def link rspecPending rspecStructure | |||
hi def link rspecLet rspecStructure | |||
hi def link rspecFilter PreProc | |||
hi def link rspecStructure Statement | |||
hi def link rspecExpectation Keyword | |||
|