diff --git a/lua/lazy/plugins/bottombar.lua b/lua/lazy/plugins/bottombar.lua index 9a57f49..95125c5 100644 --- a/lua/lazy/plugins/bottombar.lua +++ b/lua/lazy/plugins/bottombar.lua @@ -6,20 +6,22 @@ return { dependencies = { "nvim-tree/nvim-web-devicons", }, - opts = { - options = { - theme = "catppuccin", - always_divide_middle = false, - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - }, - sections = { - lualine_a = { "mode" }, - lualine_b = { "branch", "diff", "diagnostics" }, - lualine_c = { "lsp_status" }, - lualine_x = {}, - lualine_y = { "encoding", "progress" }, - lualine_z = { "location" }, - }, - }, + config = function() + require("lualine").setup({ + options = { + theme = "catppuccin", + always_divide_middle = false, + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, + }, + sections = { + lualine_a = { "mode" }, + lualine_b = { "branch", "diff", "diagnostics" }, + lualine_c = { "lsp_status" }, + lualine_x = {}, + lualine_y = { "encoding", "progress" }, + lualine_z = { "location" }, + }, + }) + end, }