Fix wrong modifier
This commit is contained in:
parent
5179fb3402
commit
bcaa71ae7c
@ -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 = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user