diff --git a/lua/spacevim/plugin/tabline.lua b/lua/spacevim/plugin/tabline.lua index 0c0c9d6b9..ba98f13e3 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' }, { + vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufReadPost', 'BufNew' }, { callback = vim.schedule_wrap(function(event) if vim.api.nvim_buf_is_valid(event.buf)