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 d8d8151 commit 6caa3fcCopy full SHA for 6caa3fc
autoload/rails.vim
@@ -2304,7 +2304,6 @@ endfunction
2304
2305
function! s:ruby_cfile() abort
2306
let buffer = rails#buffer()
2307
- let format = s:format()
2308
2309
let res = s:findit('\v\s*<require\s*\(=\s*File.expand_path\([''"]../(\f+)[''"],\s*__FILE__\s*\)',expand('%:p:h').'/\1')
2310
if res != ""|return simplify(res.(res !~ '\.[^\/.]\+$' ? '.rb' : ''))|endif
0 commit comments