From 8e6d327b491cdc0076bde3659489cae9cc5c7d32 Mon Sep 17 00:00:00 2001 From: tiny <123@qq.com> Date: Thu, 4 Sep 2025 14:06:17 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/lazy/plugins/bottombar.lua | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) 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, }