FollieHiyuki-dotfiles/home/.config/nvim/lua/modules/bufferline.lua
FollieHiyuki 0098bc351f
neovim: gitsigns, basic mappings and nord colors
Also update nushell startup hook
2021-10-17 21:48:02 +07:00

31 lines
830 B
Lua

return require('bufferline').setup {
options = {
numbers = 'none',
mappings = true,
max_name_length = 16,
max_prefix_length = 14,
tab_size = 20,
diagnostics = 'nvim_lsp',
show_close_icon = false,
show_buffer_icons = true,
show_tab_indicators = true,
enforce_regular_tabs = false,
show_buffer_close_icons = true,
always_show_bufferline = true,
offsets = {
{filetype = 'NvimTree', text = 'NvimTree', text_align = 'left'},
{filetype = 'packer', text = 'Packer', text_align = 'left'}
},
separator_style = 'thin'
},
highlights = {
fill = {
guibg = {
attribute = 'bg',
highlight = 'TabLineFill'
}
}
}
}