Skip to content

Commit cb188c6

Browse files
npupkotpope
authored andcommitted
Add skip_forgery_protection to syntax highlighting
1 parent 30a5719 commit cb188c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

after/syntax/ruby/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ endif
8383

8484
if s:path =~# '/app/controllers/.*\.rb$'
8585
syn keyword rubyHelper params request response session headers cookies flash
86-
syn keyword rubyMacro protect_from_forgery
86+
syn keyword rubyMacro protect_from_forgery skip_forgery_protection
8787
syn match rubyMacro '\<respond_to\>\ze[( ] *[:*]'
8888
syn match rubyResponse '\<respond_to\>\ze[( ] *\%([&{]\|do\>\)'
8989
syn keyword rubyResponse render head redirect_to redirect_back respond_with send_data send_file

0 commit comments

Comments
 (0)