nvim-tree.lua
nvim-tree.lua copied to clipboard
Change Root When Directory Is Inside Current Root
There is no easy means to change the root on tree.open
, tree.toggle
, tree.find_file
and update focused file when the directory is inside the root.
Add options or parameters to allow this behaviour.
Related: #2405
See https://github.com/nvim-tree/nvim-tree.lua/discussions/2062#discussion-4981774