Skip to content

Commit edc5609

Browse files
committed
bugfix
1 parent 4779a73 commit edc5609

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

autoload/easycomplete/action/completion.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ function! easycomplete#action#completion#do(opt, ctx)
1717
return v:true
1818
endif
1919
call easycomplete#action#completion#LspRequest(l:info, a:opt['name'])
20-
call s:console(9997)
2120
return v:true
2221
endfunction
2322

autoload/easycomplete/action/documentation.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ function! s:GetDocumentParams(item, server_name)
9999
else
100100
let param_data = s:GetExtendedParamData(get(lsp_item, 'data', {}))
101101
endif
102+
if type(param_data) != type({})
103+
let param_data = {}
104+
endif
102105
let ret.completion_item = extend({
103106
\ 'label' : get(lsp_item, "label", a:item.word),
104107
\ 'data' : extend({

0 commit comments

Comments
 (0)