Fix project directory path for autoconnection

Closes #189.
This commit is contained in:
Tim Pope 2014-12-20 01:27:23 -05:00
parent 506cf288bd
commit b999b09cd9

View File

@ -525,7 +525,7 @@ function! fireplace#platform(...) abort
let portfile = findfile('.nrepl-port', '.;') let portfile = findfile('.nrepl-port', '.;')
if !empty(portfile) if !empty(portfile)
call fireplace#register_port_file(portfile, fnamemodify(portfile, ':h')) call fireplace#register_port_file(portfile, fnamemodify(portfile, ':p:h'))
endif endif
silent doautocmd User FireplacePreConnect silent doautocmd User FireplacePreConnect