[find file] when the file is not found, focus the potential parent folder
At the moment it does not focus on the last visible directory if the file is out of sight(hidden).
The gray files are hidden when nvim tree starts and in this case it should focus on the "config" folder.
hi, please elaborate, i don't understand you feature request. -> current behavior for event/action -> behavior wanted for event/action
Current behavior. When the nvim tree is opened, the cursor will not focus on a file in the nvim tree tab if the file is hidden. Behaviour wanted. When the nvim tree is opened, and the file is not visible in the nvim tree, the cursor should focus on the file's parent directory.
I see now, this could be implemented in the find_file, i'll see when i have some time for this.
This is a valid feature that improves the quality of life for users.
This should be resolved via https://github.com/nvim-tree/nvim-tree.lua/issues/1785 and https://github.com/nvim-tree/nvim-tree.lua/pull/2261
Please reopen if this hasn't been resolved.