Better rooting with findfile()

I think this is more portable.
This commit is contained in:
Tim Pope 2014-04-03 21:09:00 -04:00
parent ab5eee34d8
commit 9a689480ef
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ function! fireplace#platform(...) abort
endif
endfor
let portfile = findfile('.nrepl-port', '.;/')
let portfile = findfile('.nrepl-port', '.;')
if !empty(portfile)
call s:register_portfile(portfile, fnamemodify(portfile, ':h'))
endif