Cannot disable tabline
sahashirshendu opened this issue · 1 comments
sahashirshendu commented
Cannot disable tabline in alpha
alpha
setup:
local alpha = require("alpha")
local aucmd = vim.api.nvim_create_autocmd
local dashboard = require("alpha.themes.dashboard")
dashboard.opts.opts.noautocmd = true
alpha.setup(dashboard.opts)
aucmd("User", {
pattern = "AlphaReady",
callback = function()
vim.opt.showtabline = 0
end,
})
aucmd("BufUnload", {
buffer = 0,
callback = function()
vim.opt.showtabline = 2
end,
})
Am I doing something wrong?
sahashirshendu commented
Sorry, it was problem with lazyloading bufferline; fixed it with event = "BufEnter"
for bufferline.