diff --git a/lua/spacevim/plugin/tabline.lua b/lua/spacevim/plugin/tabline.lua index ba98f13e3..5239a8185 100644 --- a/lua/spacevim/plugin/tabline.lua +++ b/lua/spacevim/plugin/tabline.lua @@ -328,7 +328,7 @@ function M.enable() end end local tabline_augroup = vim.api.nvim_create_augroup('spacevim_tabline', { clear = true }) - vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufReadPost', 'BufNew' }, { + vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufReadPost', 'BufAdd' }, { callback = vim.schedule_wrap(function(event) if vim.api.nvim_buf_is_valid(event.buf)