From 2631f1adef83ad10709db2de5974912025274b02 Mon Sep 17 00:00:00 2001 From: syltharion Date: Sat, 25 Jul 2026 16:27:10 +0800 Subject: [PATCH] fix(mcphub-nvim): disable make_vars to prevent codecompanion load order error Closes #1777 make_vars=true triggers variable registration before codecompanion is fully initialized, causing pairs(nil) crash. Disable by default. --- lua/astrocommunity/editing-support/mcphub-nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/editing-support/mcphub-nvim/init.lua b/lua/astrocommunity/editing-support/mcphub-nvim/init.lua index 5a7f43d7f..3904e1456 100644 --- a/lua/astrocommunity/editing-support/mcphub-nvim/init.lua +++ b/lua/astrocommunity/editing-support/mcphub-nvim/init.lua @@ -16,7 +16,7 @@ return { callback = "mcphub.extensions.codecompanion", opts = { show_result_in_chat = true, - make_vars = true, + make_vars = false, make_slash_commands = true, }, },