fix(lualine): Show tabs and file path on the same line

This commit is contained in:
Jiří Štefka 2024-09-18 17:53:27 +02:00
parent c211d60155
commit 2dc5b4d5e5
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -44,13 +44,14 @@ require('lualine').setup {
}, },
-- Example top tabline configuration (this may clash with other plugins) -- Example top tabline configuration (this may clash with other plugins)
tabline = { tabline = {
-- lualine_a = {
-- {
-- 'tabs',
-- mode = 1,
-- },
-- },
-- lualine_b = {
lualine_a = { lualine_a = {
{
'tabs',
mode = 1,
},
},
lualine_b = {
{ {
'buffers', 'buffers',
show_filename_only = true, show_filename_only = true,
@ -71,9 +72,9 @@ require('lualine').setup {
lualine_c = {}, lualine_c = {},
lualine_x = {}, lualine_x = {},
lualine_y = {}, lualine_y = {},
lualine_z = {}, -- lualine_z = {}, -- Commented out so that buffers and file path are on the same line
}, -- },
winbar = { -- winbar = {
lualine_z = { lualine_z = {
{ {
'filename', 'filename',