Add missing files

This commit is contained in:
François
2026-01-25 08:56:49 +01:00
parent b8d74ed40b
commit a3654de54e

View File

@@ -0,0 +1,9 @@
-- close nvim-tree if it's last buffer open
vim.api.nvim_create_autocmd("BufEnter", {
pattern = "*",
callback = function()
if #vim.api.nvim_list_bufs() == 1 and vim.bo.filetype == "NvimTree" then
vim.cmd("quit")
end
end,
})