Skip to content

Commit ac75836

Browse files
authored
Merge pull request #44 from Shougo/copilot/check-dpp-lazy-loading-issue
fix: only call denops#plugin#wait after denops#plugin#load
2 parents 946156e + f10ad45 commit ac75836

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

autoload/dpp/source.vim

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,11 @@ function dpp#source#_source(plugins, function_prefix) abort
9494
\ name,
9595
\ [plugin.rtp, 'denops', name, 'main.ts']->join(s:sep),
9696
\ )
97-
endif
9897

99-
if denops#server#status() !=# 'stopped'
100-
\ && plugin->get('denops_wait', v:true)
101-
call denops#plugin#wait(name)
102-
redraw
98+
if plugin->get('denops_wait', v:true)
99+
call denops#plugin#wait(name)
100+
redraw
101+
endif
103102
endif
104103
endfor
105104
endif

0 commit comments

Comments
 (0)