Skip to content

Commit 2631f1a

Browse files
author
syltharion
committed
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.
1 parent ac92a36 commit 2631f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lua/astrocommunity/editing-support/mcphub-nvim

lua/astrocommunity/editing-support/mcphub-nvim/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ return {
1616
callback = "mcphub.extensions.codecompanion",
1717
opts = {
1818
show_result_in_chat = true,
19-
make_vars = true,
19+
make_vars = false,
2020
make_slash_commands = true,
2121
},
2222
},

0 commit comments

Comments
 (0)