Fix stupid mistake

This commit is contained in:
Karl Yngve Lervåg 2016-09-01 22:13:21 +02:00
parent d888c95a69
commit a27f4dc6e7

View File

@ -637,7 +637,7 @@ function! s:get_main_recurse(...) " {{{1
let l:filter .= ''''
if len(filter(readfile(l:cand), l:filter)) > 0
return s:get_main_recurse(fnameescape(l:cand, ':p'))
return s:get_main_recurse(fnamemodify(l:cand, ':p'))
endif
endfor
endfunction