Files
nvim/lua/plugins/bufferline.lua
T
2026-10-08 07:27:41 +00:00

18 lines
600 B
Lua

return {
'akinsho/bufferline.nvim',
version = '*',
dependencies = 'nvim-tree/nvim-web-devicons',
opts = {
options = {
mode = 'tabs',
separator_style = 'slant',
show_duplicate_prefix = false, -- whether to show duplicate buffer prefix
-- style_preset = require('bufferline').style_preset.minimal, -- or bufferline.style_preset.minimal,
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
name_formatter = function(buf) -- buf contains a "name", "path" and "bufnr"
return buf.name
end,
},
},
}