Skip to content

Commit 0f36289

Browse files
committed
Fix
1 parent 15bb834 commit 0f36289

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎autoload/ddu/denops.vim‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ function ddu#denops#_request(method, args) abort
1414
if denops#server#status() !=# 'running'
1515
" Lazy call
1616
execute printf('autocmd User DenopsPluginPost:ddu ++nested call '
17-
\ .. 's:request(%s, %s)', a:method->string(), a:args->string())
17+
\ .. 's:notify("%s", %s)', a:method, a:args->string())
1818
return {}
1919
endif
2020

21-
return s:request(a:method, a:args)
21+
if denops#plugin#wait('ddu')
22+
return {}
23+
endif
24+
return denops#request('ddu', a:method, a:args)
2225
endfunction
2326
function ddu#denops#_notify(method, args) abort
2427
if s:init()

‎autoload/ddu/util.vim‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ function ddu#util#clear_logs(name) abort
136136
endfunction
137137

138138
function ddu#util#get_all_logs() abort
139-
return g:ddu#_logs->copy()
139+
return g:ddu#_logs->deepcopy()
140140
endfunction

0 commit comments

Comments
 (0)