diff --git a/autoload/ddu/denops.vim b/autoload/ddu/denops.vim index 7a1f1bf..04ec5ed 100644 --- a/autoload/ddu/denops.vim +++ b/autoload/ddu/denops.vim @@ -100,7 +100,9 @@ function s:init() abort " NOTE: ddu.vim must be registered manually. " NOTE: denops load may be started - if 'g:loaded_denops'->exists() && denops#server#status() ==# 'running' + if 'g:loaded_denops'->exists() && + \ (denops#server#status() ==# 'preparing' || + \ denops#server#status() ==# 'running') silent! call s:register() else autocmd ddu User DenopsReady silent! call s:register()