Closed
Description
Description
Cursor does not focus on file created when creating file with nested directory
Neovim version
NVIM v0.7.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system and version
Linux-5.19.12
nvim-tree version
Minimal config
require("nvim-tree").setup({
update_focused_file = {
enable = true
},
git = {
ignore = false
},
actions = {
open_file = {
quit_on_open = true
}
},
view = {
width = 200,
number = true,
relativenumber = true,
side = 'left',
mappings = {
list = {
{ key = "-", cb = tree_cb("close") },
{ key = { "<BS>", "<C-o>" }, action = "close_node" },
}
}
}
})
Steps to reproduce
- nvim
- a
- somefolder/anotherfolder/a.c
- cursor focuses on the top of the tree
Expected behavior
Cursor should focus on the top of the tree
Actual behavior
Cursor should focus on the file created