diff --git a/.config/nvim/plugin/lualine.lua b/.config/nvim/plugin/lualine.lua index ddcedd2..7a935f3 100644 --- a/.config/nvim/plugin/lualine.lua +++ b/.config/nvim/plugin/lualine.lua @@ -15,7 +15,16 @@ local ruler = function() return vim.o.rulerformat end -local config = { +local diff = { + "diff", + symbols = { + added = " ", + modified = " ", + removed = " ", + }, +} + +lualine.setup({ options = { component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" }, @@ -24,16 +33,11 @@ local config = { sections = { lualine_a = { "mode" }, lualine_b = { "branch" }, - lualine_c = { "filename", "diff", "diagnostics" }, - lualine_x = {}, - lualine_y = {}, + lualine_c = { "filename", diff, "diagnostics" }, + lualine_x = { { "searchcount", color = { fg = colors.orange } } }, + lualine_y = { "lsp_status" }, lualine_z = { - { - ruler, - color = { fg = colors.overlay1, bg = colors.mantle }, - }, + { ruler, color = { fg = colors.overlay1, bg = colors.mantle } }, }, }, -} - -lualine.setup(config) +})