nvim: remove autocmd for AlphaReady

Avoid conflict with the way bufferline.nvim is loaded in the config.
This commit is contained in:
Hoang Nguyen 2022-05-15 17:33:01 +07:00
parent 3d0c27cd3d
commit 266b9c7726
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 1 additions and 9 deletions

View File

@ -114,14 +114,6 @@ local augroups = {
},
},
plugins = {
{
event = 'User',
opts = {
pattern = 'AlphaReady',
command = 'set showtabline=0 | autocmd BufUnload <buffer> set showtabline=2',
desc = 'Autohide tabline on Alpha dashboard',
},
},
{
event = 'User',
opts = {

View File

@ -14,7 +14,7 @@ M['feline-nvim/feline.nvim'] = {
end,
}
M['akinsho/bufferline.nvim'] = {
event = { 'BufRead', 'BufNewFile' },
event = 'BufEnter',
disable = vim.opt.showtabline:get() == 0 and true or false,
config = function()
require('user.modules.ui.config.bufferline')