Skip to content

Commit dca1fcb

Browse files
committed
Fix :Rlocale with no argument
Closes tpope#241
1 parent 8e3415d commit dca1fcb

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
@@ -2739,7 +2739,7 @@ function! s:localeEdit(cmd,...)
27392739
return s:edit(a:cmd,rails#app().find_file(c,'config/locales',[],'config/locales/'.c))
27402740
else
27412741
return rails#buffer().open_command(a:cmd, c, 'locale',
2742-
\ [{'pattern': 'config/locales/*.yml'}, {'pattern': 'config/locales/*.rb'}]})
2742+
\ [{'pattern': 'config/locales/*.yml'}, {'pattern': 'config/locales/*.rb'}])
27432743
endif
27442744
endfunction
27452745

0 commit comments

Comments
 (0)