Description
Hi,
The nvim-tree.api.tree.resize does not work because it tries to use configure_width from the view module which does not exist (seems like it was moved to view-state in #3306 )
Neovim version
NVIM v0.12.4
Build type: Release
LuaJIT 2.1.1782726002
Operating system and version
Bazzite
Windows variant
No response
nvim-tree version
531b807
Clean room replication
Steps to reproduce
:NvimTreeOpen
:lua require("nvim-tree.api").tree.resize({width = 50})
Expected behavior
resize works without errors
Actual behavior
fails with this error:
E5108: Lua: ...tart/nvim-tree.lua/lua/nvim-tree/actions/tree/resize.lua:19: attempt to call field 'configure_width' (a nil value)
stack traceback:
...tart/nvim-tree.lua/lua/nvim-tree/actions/tree/resize.lua:19: in function 'fn'
...ck/packer/start/nvim-tree.lua/lua/nvim-tree/api/impl.lua:250: in function 'resize'
[string ":lua"]:1: in main chunk
Description
Hi,
The nvim-tree.api.tree.resize does not work because it tries to use configure_width from the view module which does not exist (seems like it was moved to view-state in #3306 )
Neovim version
Operating system and version
Bazzite
Windows variant
No response
nvim-tree version
531b807
Clean room replication
Steps to reproduce
Expected behavior
resize works without errors
Actual behavior
fails with this error: