2024-02-10 22:51:14 +05:30
|
|
|
local Plugin = { "akinsho/bufferline.nvim" }
|
|
|
|
Plugin.version = "*"
|
|
|
|
Plugin.dependencies = "nvim-tree/nvim-web-devicons"
|
|
|
|
|
2024-06-10 01:45:39 +05:30
|
|
|
Plugin.event = "BufEnter"
|
2024-02-10 22:51:14 +05:30
|
|
|
|
|
|
|
function Plugin.init()
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
end
|
|
|
|
|
|
|
|
Plugin.opts = {
|
|
|
|
options = {
|
2024-06-10 00:59:34 +05:30
|
|
|
themable = false,
|
|
|
|
diagnostics = "nvim_lsp",
|
|
|
|
mode = "buffers",
|
2024-02-10 22:51:14 +05:30
|
|
|
offsets = {
|
2024-06-10 00:59:34 +05:30
|
|
|
{ filetype = "neo-tree", text = "File Tree", separator = true },
|
2024-02-10 22:51:14 +05:30
|
|
|
},
|
2024-06-10 00:59:34 +05:30
|
|
|
separator_style = "slant",
|
|
|
|
show_buffer_close_icons = false,
|
|
|
|
show_close_icon = false,
|
2024-02-10 22:51:14 +05:30
|
|
|
},
|
2024-06-10 00:59:34 +05:30
|
|
|
|
2024-02-10 22:51:14 +05:30
|
|
|
-- :help bufferline-highlights
|
|
|
|
highlights = {
|
|
|
|
buffer_selected = {
|
2024-06-10 00:59:34 +05:30
|
|
|
italic = false,
|
2024-02-10 22:51:14 +05:30
|
|
|
},
|
|
|
|
indicator_selected = {
|
2024-06-10 00:59:34 +05:30
|
|
|
fg = { attribute = "fg", highlight = "Function" },
|
|
|
|
italic = false,
|
|
|
|
},
|
|
|
|
},
|
2024-02-10 22:51:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
return Plugin
|