|
|
|
@ -38,7 +38,7 @@ autocmd("BufEnter", {
|
|
|
|
|
|
|
|
|
|
vim.t.bufs = vim.api.nvim_list_bufs()
|
|
|
|
|
|
|
|
|
|
-- thx to https://github.com/ii14 && stores buffer per tab -> table
|
|
|
|
|
-- thx to https://github.com/ii14 & stores buffer per tab -> table
|
|
|
|
|
autocmd({ "BufAdd" }, {
|
|
|
|
|
callback = function(args)
|
|
|
|
|
if vim.t.bufs == nil then
|
|
|
|
@ -72,7 +72,7 @@ autocmd("BufDelete", {
|
|
|
|
|
end,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
if require("core.utils").load_config().ui.tabufline_enabled then
|
|
|
|
|
if require("core.utils").load_config().ui.tabufline_lazyloaded then
|
|
|
|
|
require("core.lazy_load").tabufline()
|
|
|
|
|
else
|
|
|
|
|
vim.opt.showtabline = 2
|
|
|
|
|