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 cb188c6 commit a56db85Copy full SHA for a56db85
autoload/rails.vim
@@ -4883,10 +4883,10 @@ function! rails#ruby_setup() abort
4883
\ filter(map(keys(rails#app().projections()),
4884
\ 'matchstr(v:val, "^\\Capp/views/\\*\\.\\zs(\\w\\+$")'), 'len(v:val)'))
4885
for ext in exts
4886
- exe 'setlocal suffixesadd+=.' . ext
4887
if len(format)
4888
exe 'setlocal suffixesadd+=.' . format . '.' . ext
4889
endif
+ exe 'setlocal suffixesadd+=.' . ext
4890
endfor
4891
if !rails#app().has_rails5()
4892
let path += [rails#app().path('vendor/plugins/*/lib'), rails#app().path('vendor/rails/*/lib')]
0 commit comments