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
|
||||
endfor
|
||||
|
||||
let portfile = findfile('.nrepl-port', '.;/')
|
||||
let portfile = findfile('.nrepl-port', '.;')
|
||||
if !empty(portfile)
|
||||
call s:register_portfile(portfile, fnamemodify(portfile, ':h'))
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user