init.lua/lua/plugins/bufferline.lua

31 lines
548 B
Lua
Raw Normal View History

2024-02-10 22:51:14 +05:30
local Plugin = { "akinsho/bufferline.nvim" }
Plugin.version = "*"
Plugin.dependencies = "nvim-tree/nvim-web-devicons"
Plugin.event = 'VeryLazy'
function Plugin.init()
vim.opt.termguicolors = true
end
Plugin.opts = {
options = {
mode = 'buffers',
offsets = {
{filetype = 'neo-tree'},
},
},
-- :help bufferline-highlights
highlights = {
buffer_selected = {
italic = false
},
indicator_selected = {
fg = {attribute = 'fg', highlight = 'Function'},
italic = false
}
}
}
return Plugin