Fix wrong modifier
This commit is contained in:
parent
5179fb3402
commit
bcaa71ae7c
@ -846,7 +846,7 @@ augroup END
|
||||
|
||||
function! s:hunt(start, anchor) abort
|
||||
let root = simplify(fnamemodify(a:start, ':p:s?[\/]$??'))
|
||||
if !isdirectory(fnamemodify(root, ':p'))
|
||||
if !isdirectory(fnamemodify(root, ':h'))
|
||||
return ''
|
||||
endif
|
||||
let previous = ""
|
||||
|
Loading…
Reference in New Issue
Block a user