Skip to content

Commit d2794d5

Browse files
committed
Check status when denops_wait
1 parent dd5e1cc commit d2794d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/dein/autoload.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ function! dein#autoload#_source(plugins) abort
8989
endtry
9090
endif
9191

92-
if plugin->get('denops_wait', v:true)
92+
if denops#server#status() !=# 'stopped'
93+
\ && plugin->get('denops_wait', v:true)
9394
call denops#plugin#wait(name)
9495
redraw
9596
endif

0 commit comments

Comments
 (0)