feat: add on_tree_resize event

This commit is contained in:
kiyan
2022-07-06 13:35:29 +02:00
parent eb6dde4733
commit c84735483f
3 changed files with 25 additions and 2 deletions

View File

@@ -1233,4 +1233,12 @@ on_tree_close({handler})
{handler} `{function}` Handler function, with the
signature `function()`.
*nvim-tree.events.on_tree_resize()*
on_tree_resize({handler})
Registers a handler for when NvimTree is resized.
Parameters: ~
{handler} `{function}` Handler function, with the
signature `function(size)`.
vim:tw=78:ts=4:sw=4:et:ft=help:norl: