Fix wrong modifier

This commit is contained in:
Tim Pope 2012-12-09 14:40:27 -05:00
parent 5179fb3402
commit bcaa71ae7c

View File

@ -846,7 +846,7 @@ augroup END
function! s:hunt(start, anchor) abort function! s:hunt(start, anchor) abort
let root = simplify(fnamemodify(a:start, ':p:s?[\/]$??')) let root = simplify(fnamemodify(a:start, ':p:s?[\/]$??'))
if !isdirectory(fnamemodify(root, ':p')) if !isdirectory(fnamemodify(root, ':h'))
return '' return ''
endif endif
let previous = "" let previous = ""