From 85be102c2615e14a6ed8825bfc232ee672fd4aa2 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 6 Sep 2023 14:24:03 +0200 Subject: up --- .config/nvim/lua/plugs-config/lualine.lua | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to '.config/nvim/lua/plugs-config') diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua index 56e7d83..6646d02 100644 --- a/.config/nvim/lua/plugs-config/lualine.lua +++ b/.config/nvim/lua/plugs-config/lualine.lua @@ -146,16 +146,23 @@ ins_left { padding = { right = 1 }, } -ins_left { - -- filesize component - 'filesize', - cond = conditions.buffer_not_empty, -} +-- ins_left { +-- 'filename', +-- cond = conditions.buffer_not_empty, +-- color = { fg = colors.magenta, gui = 'bold' }, +-- } ins_left { - 'filename', - cond = conditions.buffer_not_empty, - color = { fg = colors.magenta, gui = 'bold' }, + 'buffers', + show_filename_only = true, + hide_filename_extension = false, + show_modified_status = true, + -- color = { fg = colors.darkblue }, + -- buffers_color = { + -- -- Same values as the general color option can be used here. + -- active = 'lualine_{section}_active', -- Color for active buffer. + -- inactive = 'lualine_{section}_inactive', -- Color for inactive buffer. + -- }, } ins_left { @@ -195,7 +202,7 @@ ins_left { return msg end, icon = ' LSP:', - color = { fg = colors.darkblue }, + color = { fg = colors.cyan }, } ins_right { @@ -204,6 +211,12 @@ ins_right { color = { fg = colors.green, gui = 'bold' }, } +ins_right { + -- filesize component + 'filesize', + cond = conditions.buffer_not_empty, +} + ins_right { 'branch', icon = '', -- cgit v1.2.3