Skip to content

Commit 2527082

Browse files
committed
Merge pull request tpope#421 from glittershark/highlight-layout-in-mailers
Highlight `layout` in mailers
2 parents a329b51 + 1c4eeaa commit 2527082

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
@@ -3766,7 +3766,7 @@ function! rails#buffer_syntax()
37663766
if buffer.type_name('mailer')
37673767
syn keyword rubyRailsMethod logger url_for polymorphic_path polymorphic_url
37683768
syn keyword rubyRailsRenderMethod mail render
3769-
syn keyword rubyRailsControllerMethod attachments default helper helper_attr helper_method
3769+
syn keyword rubyRailsControllerMethod attachments default helper helper_attr helper_method layout
37703770
endif
37713771
if buffer.type_name('helper','view')
37723772
syn keyword rubyRailsViewMethod polymorphic_path polymorphic_url

0 commit comments

Comments
 (0)