Skip to content

Commit 74116b9

Browse files
authored
Merge pull request #346 from vim-denops/lambdalisue-patch-1
🐛 Fix `denops#plugin#wait_async`
2 parents 4cd759f + c57834b commit 74116b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/denops/plugin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function! denops#plugin#wait_async(name, callback) abort
5151
endif
5252
let l:callbacks = get(s:load_callbacks, a:name, [])
5353
call add(l:callbacks, a:callback)
54-
let s:load_callbacks[a:plugin] = l:callbacks
54+
let s:load_callbacks[a:name] = l:callbacks
5555
endfunction
5656

5757
" DEPRECATED

0 commit comments

Comments
 (0)