Skip to content

Commit 82eea81

Browse files
committed
Highlight "double" in specs
1 parent 4ecd6b9 commit 82eea81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3521,7 +3521,7 @@ function! s:BufSyntax()
35213521
endif
35223522
elseif t=~ '^spec\>'
35233523
syn keyword rubyRailsTestMethod describe context it its specify it_should_behave_like before after subject fixtures controller_name helper_name
3524-
syn keyword rubyRailsTestMethod violated pending expect mock mock_model stub_model
3524+
syn keyword rubyRailsTestMethod violated pending expect double mock mock_model stub_model
35253525
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'
35263526
if t !~ '^spec-model\>'
35273527
syn match rubyRailsTestControllerMethod '\.\@<!\<\%(get\|post\|put\|delete\|head\|process\|assigns\)\>'

0 commit comments

Comments
 (0)