From 97f4424d75c3cf68ff663334c71566a09decd464 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 5 Sep 2023 18:28:27 +0200 Subject: up --- .config/nvim/lua/plugs-config/lualine.lua | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to '.config/nvim/lua/plugs-config/lualine.lua') diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua index 3ea3a87..56e7d83 100644 --- a/.config/nvim/lua/plugs-config/lualine.lua +++ b/.config/nvim/lua/plugs-config/lualine.lua @@ -158,10 +158,6 @@ ins_left { color = { fg = colors.magenta, gui = 'bold' }, } -ins_left { 'location' } - -ins_left { 'progress', color = { fg = colors.fg, gui = 'bold' } } - ins_left { 'diagnostics', sources = { 'nvim_diagnostic' }, @@ -199,21 +195,12 @@ ins_left { return msg end, icon = ' LSP:', - color = { fg = '#ffffff', gui = 'bold' }, -} - --- Add components to right sections -ins_right { - 'o:encoding', -- option component same as &encoding in viml - fmt = string.upper, -- I'm not sure why it's upper case either ;) - cond = conditions.hide_in_width, - color = { fg = colors.green, gui = 'bold' }, + color = { fg = colors.darkblue }, } ins_right { - 'fileformat', - fmt = string.upper, - icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh + 'filetype', + icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh color = { fg = colors.green, gui = 'bold' }, } @@ -235,6 +222,8 @@ ins_right { cond = conditions.hide_in_width, } +ins_right { 'location' } + ins_right { function() return '▊' -- cgit v1.2.3