This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/nvim/lua/plugins/bufferline.lua

20 lines
484 B
Lua

require('bufferline')
-- format as "<id>. <file-name>"
local tabname_format = function (opts)
return string.format('%s.', opts.ordinal)
end
require('bufferline').setup({
options = {
always_show_bufferline = true,
numbers = tabname_format,
show_buffer_icons = true,
show_buffer_close_icons = false,
show_close_icon = false,
--separator_style = 'slant',
},
-- Don't use italic on current buffer
highlights = {buffer_selected = { gui = "bold" },},
})