Skip to content

Commit b1e9238

Browse files
committed
Highlight controller caching and cache expiration methods.
1 parent 0d056dc commit b1e9238

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
@@ -3430,7 +3430,7 @@ function! s:BufSyntax()
34303430
syn keyword rubyRailsMethod local_assigns
34313431
endif
34323432
elseif t =~ '^controller\>'
3433-
syn keyword rubyRailsControllerMethod helper helper_attr helper_method filter layout url_for serialize exempt_from_layout filter_parameter_logging hide_action cache_sweeper protect_from_forgery
3433+
syn keyword rubyRailsControllerMethod helper helper_attr helper_method filter layout url_for serialize exempt_from_layout filter_parameter_logging hide_action cache_sweeper protect_from_forgery caches_page cache_page caches_action expire_page expire_action
34343434
syn match rubyRailsDeprecatedMethod '\<render_\%(action\|text\|file\|template\|nothing\|without_layout\)\>'
34353435
syn keyword rubyRailsRenderMethod render_to_string redirect_to head
34363436
syn match rubyRailsRenderMethod '\<respond_to\>?\@!'

0 commit comments

Comments
 (0)