diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua index 633c211..2b947ba 100644 --- a/lua/plugins/bufferline.lua +++ b/lua/plugins/bufferline.lua @@ -6,6 +6,12 @@ return { 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, }, }, }