Support new return value of classpath operator

This commit is contained in:
Tim Pope 2014-11-30 00:36:33 -05:00
parent db2e70ee3f
commit 04ce1b64af
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ function! fireplace#nrepl#for(transport) abort
endif
if client.has_op('classpath')
let response = client.message({'op': 'classpath'})[0]
if type(get(response, 'value')) == type([])
let client._path = response.value
if type(get(response, 'classpath')) == type([])
let client._path = response.classpath
endif
endif
if !has_key(client, '_path')