Skip to content

Commit 8ed5ac3

Browse files
committed
Highlight render_views from RSpec
Closes tpope#127.
1 parent c7142af commit 8ed5ac3

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
@@ -3600,7 +3600,7 @@ function! s:BufSyntax()
36003600
syn match rubyRailsTestMethod '\.\@<!\<stub\>!\@!'
36013601
if !buffer.type_name('spec-model')
36023602
syn match rubyRailsTestControllerMethod '\.\@<!\<\%(get\|post\|put\|delete\|head\|process\|assigns\)\>'
3603-
syn keyword rubyRailsTestControllerMethod integrate_views
3603+
syn keyword rubyRailsTestControllerMethod integrate_views render_views
36043604
syn keyword rubyRailsMethod params request response session flash
36053605
syn keyword rubyRailsMethod polymorphic_path polymorphic_url
36063606
endif

0 commit comments

Comments
 (0)