mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-15 16:51:33 +00:00
remove colse nvim tree
This commit is contained in:
@ -17,7 +17,7 @@ autocmd({ "BufNewFile", "BufRead" }, {
|
||||
end,
|
||||
})
|
||||
|
||||
autocmd("FileType", {
|
||||
--[[ autocmd("FileType", {
|
||||
desc = "Close NvimTree before quit nvim",
|
||||
pattern = { "NvimTree" },
|
||||
callback = function(args)
|
||||
@ -28,7 +28,7 @@ autocmd("FileType", {
|
||||
end,
|
||||
})
|
||||
end,
|
||||
})
|
||||
}) ]]
|
||||
|
||||
autocmd("BufEnter", {
|
||||
desc = "Close nvim if NvimTree is only running buffer",
|
||||
|
Reference in New Issue
Block a user