mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-08-19 08:48:27 +02:00
fix error close nvim-tree last buffer
This commit is contained in:
parent
d20cfcdbfc
commit
67a507d530
3 changed files with 20 additions and 4 deletions
|
@ -35,6 +35,13 @@ vim.cmd([[
|
|||
augroup end
|
||||
]])
|
||||
|
||||
-- for fix error last close buffer
|
||||
vim.api.nvim_create_autocmd({ "QuitPre" }, {
|
||||
callback = function()
|
||||
vim.cmd("NvimTreeClose")
|
||||
end,
|
||||
})
|
||||
|
||||
-- Autoformat
|
||||
-- augroup _lsp
|
||||
-- autocmd!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue