We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14f580 commit f28de15Copy full SHA for f28de15
1 file changed
autoload/rails.vim
@@ -4362,6 +4362,8 @@ function! RailsBufInit(path)
4362
call app.source_callback("config/syntax.vim")
4363
if expand('%:t') =~ '\.yml\.example$'
4364
setlocal filetype=yaml
4365
+ elseif expand('%:e') =~ '^\%(rjs\|rxml\|builder\)$'
4366
+ setlocal filetype=ruby
4367
elseif firsttime
4368
" Activate custom syntax
4369
let &syntax = &syntax
0 commit comments