fix(mcphub-nvim): disable make_vars to prevent codecompanion crash - #1790
fix(mcphub-nvim): disable make_vars to prevent codecompanion crash#1790syltharion wants to merge 1 commit into
Conversation
…er error Closes AstroNvim#1777 make_vars=true triggers variable registration before codecompanion is fully initialized, causing pairs(nil) crash. Disable by default.
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
|
This seems like a hack. |
Closes #1777
Sets
make_vars = falsein the mcphub codecompanion extension config. When mcphub loads before codecompanion is fully initialized,make_vars = truetriggers variable registration that crashes with 'bad argument #1 to pairs (table expected, got nil)'.