mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 04:44:03 +01:00
neovim: Focus tree when empty buffer
This commit is contained in:
parent
cf6064e500
commit
02dd4540e5
@ -78,7 +78,7 @@
|
||||
return
|
||||
end
|
||||
|
||||
require("nvim-tree.api").tree.toggle({ focus = false, find_file = true })
|
||||
require("nvim-tree.api").tree.toggle({ focus = no_name, find_file = true })
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })
|
||||
|
Loading…
Reference in New Issue
Block a user