Skip to content

Commit bbdb629

Browse files
committed
Fix s:findview
1 parent 7f1b94e commit bbdb629

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
@@ -2552,7 +2552,7 @@ function! s:findview(name)
25522552
if name =~# '\.\w\+\.\w\+$' || name =~# '\.'.s:viewspattern().'$'
25532553
return pre.name
25542554
else
2555-
for format in ['.'.self.format('html'), '']
2555+
for format in ['.'.s:format('html'), '']
25562556
for type in split(s:view_types,',')
25572557
if self.app().has_file(pre.name.format.'.'.type)
25582558
return pre.name.format.'.'.type

0 commit comments

Comments
 (0)