fix: remove redundant autocmd for formatter

This commit is contained in:
2025-10-26 03:35:28 +02:00
parent 63e81da490
commit a4b5accc05
2 changed files with 9 additions and 11 deletions

View File

@@ -47,6 +47,7 @@ au({ 'WinEnter', 'InsertLeave' }, {
au({ 'WinLeave', 'InsertEnter' }, {
group = group,
callback = function()
-- Keep it on NvimTree to show current file
if vim.bo.filetype == 'NvimTree' then
return
end