Files
lazyfox/lua/config/bufferline.lua
Archie Fox 7f1d7f48dd Init commit
2025-07-25 13:09:33 +03:00

26 lines
845 B
Lua

local bufferline = require("bufferline")
bufferline.setup({
options = {
mode = "buffers", -- set to "tabs" to only show tabpages instead
style_preset = bufferline.style_preset.no_bold, -- or bufferline.style_preset.minimal,
-- separator_style = "slant",
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
numbers = "ordinal",
close_command = "bdelete! %d", -- can be a string | function, | false see "Mouse actions"
offsets = {
{
filetype = "neo-tree",
text = "File Explorer",
text_align = "center",
separator = false,
},
},
indicator = {
icon = "", -- this should be omitted if indicator style is not 'icon'
style = "underline",
},
always_show_bufferline = true,
diagnostics = "nvim_lsp",
},
})