fix: callback was not called in stream mode (#95)
This commit is contained in:
parent
940106d82b
commit
2d160fc5d7
@ -278,6 +278,9 @@ function Sidebar:update_content(content, opts)
|
||||
if opts.scroll then
|
||||
scroll_to_bottom()
|
||||
end
|
||||
if opts.callback ~= nil then
|
||||
opts.callback()
|
||||
end
|
||||
end)
|
||||
else
|
||||
vim.defer_fn(function()
|
||||
|
Loading…
x
Reference in New Issue
Block a user