Cider info op no longer embeds in value attribute

Closes #186.
This commit is contained in:
Tim Pope 2014-11-19 00:49:58 -05:00
parent 8f7a07cffd
commit db2e70ee3f
1 changed files with 2 additions and 0 deletions

View File

@ -1170,6 +1170,8 @@ function! fireplace#info(symbol) abort
let response = fireplace#message({'op': 'info', 'symbol': a:symbol})[0] let response = fireplace#message({'op': 'info', 'symbol': a:symbol})[0]
if type(get(response, 'value')) == type({}) if type(get(response, 'value')) == type({})
return response.value return response.value
elseif has_key(response, 'file')
return response
endif endif
endif endif
let cmd = let cmd =