forked from extern/nix-config
Revert "neovim: Focus tree when empty buffer"
This actually causes QuitPre to not close neovim since the tree is closed first when quitting while the tree is focused. For simplicity, the tree should always be unfocused to avoid ambiguity.
This commit is contained in:
parent
4d9a6b6877
commit
486178b27f
@ -73,7 +73,7 @@
|
||||
return
|
||||
end
|
||||
|
||||
require("nvim-tree.api").tree.toggle({ focus = no_name, find_file = true })
|
||||
require("nvim-tree.api").tree.toggle({ focus = false, find_file = true })
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })
|
||||
|
Loading…
Reference in New Issue
Block a user