Skip to content

Commit d5c9b16

Browse files
committed
Use correct readfile API
1 parent d2eece8 commit d5c9b16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/rails.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ function! s:readfile(path, ...) abort
170170
if !s:filereadable(a:path)
171171
return []
172172
elseif a:0
173-
return readfile(a:path, '', a:1)
173+
return s:fcall('readfile', a:path, '', a:1)
174174
else
175-
return readfile(a:path)
175+
return s:fcall('readfile', a:path)
176176
endif
177177
endfunction
178178

0 commit comments

Comments
 (0)