Skip to content

Commit 6caa3fc

Browse files
thisducktpope
authored andcommitted
Remove unused 'format' variable
It is no longer used in the function since commit 2d65581.
1 parent d8d8151 commit 6caa3fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

autoload/rails.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,6 @@ endfunction
23042304

23052305
function! s:ruby_cfile() abort
23062306
let buffer = rails#buffer()
2307-
let format = s:format()
23082307

23092308
let res = s:findit('\v\s*<require\s*\(=\s*File.expand_path\([''"]../(\f+)[''"],\s*__FILE__\s*\)',expand('%:p:h').'/\1')
23102309
if res != ""|return simplify(res.(res !~ '\.[^\/.]\+$' ? '.rb' : ''))|endif

0 commit comments

Comments
 (0)