lualine: increase buffers size in tabline
This commit is contained in:
parent
ba6defdd3e
commit
cdce5d4b51
1 changed files with 10 additions and 2 deletions
12
init.lua
12
init.lua
|
|
@ -95,8 +95,16 @@ lualine.setup({
|
||||||
},
|
},
|
||||||
lualine_z = { 'searchcount', 'progress', 'location' },
|
lualine_z = { 'searchcount', 'progress', 'location' },
|
||||||
},
|
},
|
||||||
tabline = (g.started_by_firenvim == true and {}) or {
|
tabline = {
|
||||||
lualine_a = { 'buffers' },
|
lualine_a = {
|
||||||
|
{
|
||||||
|
'buffers',
|
||||||
|
show_filename_only = false,
|
||||||
|
max_length = function()
|
||||||
|
return math.max(math.ceil(vim.o.columns * 2 / 3), vim.o.columns - 6)
|
||||||
|
end
|
||||||
|
},
|
||||||
|
},
|
||||||
lualine_z = { 'tabs' },
|
lualine_z = { 'tabs' },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue