From d83bcf22b9ef9e9e22e32bb2e8f07c27c62b2214 Mon Sep 17 00:00:00 2001 From: akioweh <0@akioweh.com> Date: Fri, 8 Aug 2025 19:48:26 +0400 Subject: [PATCH] fix overseer lualine integration the previous snippet was wrong. lualine as an extension option --- lua/lazyvim/plugins/extras/editor/overseer.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/extras/editor/overseer.lua b/lua/lazyvim/plugins/extras/editor/overseer.lua index 0712b973..23b0ab5f 100644 --- a/lua/lazyvim/plugins/extras/editor/overseer.lua +++ b/lua/lazyvim/plugins/extras/editor/overseer.lua @@ -102,10 +102,9 @@ return { { "nvim-lualine/lualine.nvim", optional = true, - opts = { - sections = { - lualine_x = { "overseer" }, - }, - }, + opts = function(_, opts) + opts.extensions = opts.extensions or {} + opts.extensions[#opts.extensions + 1] = "overseer" + end, }, }