Skip to content

Commit 10a4fc2

Browse files
committed
feat(callbacks): Added __post_render callback
Ref: #33
1 parent 30ce27a commit 10a4fc2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lua/helpview.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ helpview.render = function (buffer, state)
272272
end
273273
end
274274
end
275+
276+
-- TODO: Is this really needed?
277+
helpview.actions.__exec_callback("__post_render", buffer, vim.fn.win_findbuf(buffer));
275278
end
276279

277280
--- Updates cursor position in splitview.

0 commit comments

Comments
 (0)