Better rooting with findfile()
I think this is more portable.
This commit is contained in:
parent
ab5eee34d8
commit
9a689480ef
@ -472,7 +472,7 @@ function! fireplace#platform(...) abort
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
let portfile = findfile('.nrepl-port', '.;/')
|
let portfile = findfile('.nrepl-port', '.;')
|
||||||
if !empty(portfile)
|
if !empty(portfile)
|
||||||
call s:register_portfile(portfile, fnamemodify(portfile, ':h'))
|
call s:register_portfile(portfile, fnamemodify(portfile, ':h'))
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user