1
0
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:
Donovan Glover 2023-06-06 10:52:39 -04:00
parent 4d9a6b6877
commit 486178b27f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 })