From 2dc5b4d5e587ed8c473e385f5af2d49ec54d3828 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Wed, 18 Sep 2024 17:53:27 +0200 Subject: [PATCH] fix(lualine): Show tabs and file path on the same line --- nvim/plugin/lualine.lua | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nvim/plugin/lualine.lua b/nvim/plugin/lualine.lua index 9570f1b..ce85f64 100644 --- a/nvim/plugin/lualine.lua +++ b/nvim/plugin/lualine.lua @@ -44,13 +44,14 @@ require('lualine').setup { }, -- Example top tabline configuration (this may clash with other plugins) tabline = { + -- lualine_a = { + -- { + -- 'tabs', + -- mode = 1, + -- }, + -- }, + -- lualine_b = { lualine_a = { - { - 'tabs', - mode = 1, - }, - }, - lualine_b = { { 'buffers', show_filename_only = true, @@ -71,9 +72,9 @@ require('lualine').setup { lualine_c = {}, lualine_x = {}, lualine_y = {}, - lualine_z = {}, - }, - winbar = { + -- lualine_z = {}, -- Commented out so that buffers and file path are on the same line + -- }, + -- winbar = { lualine_z = { { 'filename',