Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion autoload/fireplace.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,14 @@ function! fireplace#info(symbol) abort
elseif has_key(response, 'file') || has_key(response, 'doc')
return response
endif
elseif s:impl_ns() ==# 'cljs'
let err = s:op_missing_error('info', 'cider-nrepl')
if len(err)
echohl ErrorMSG
echo err
echohl None
return {}
endif
endif

let sym = s:qsym(a:symbol)
Expand Down Expand Up @@ -2369,7 +2377,9 @@ function! s:Doc(symbol) abort
endif

let info = fireplace#info(a:symbol)
echo '-------------------------'
if len(info)
echo '-------------------------'
endif
if has_key(info, 'ns') && has_key(info, 'name')
echo info.ns . '/' . info.name
elseif has_key(info, 'ns')
Expand Down