chore(nvim): drop 'mcp-hub'

This commit is contained in:
2026-08-25 13:07:27 +02:00
parent 258f45400c
commit ffcdef8e54
5 changed files with 3 additions and 179 deletions
@@ -5,19 +5,3 @@ require("codecompanion").setup({
inline = { adapter = "openai" },
},
})
-- Load mcphub extension after codecompanion is initialized
-- and ensure the config structure exists
local ok, cc_config = pcall(require, "codecompanion.config")
if ok then
cc_config.interactions = cc_config.interactions or {}
cc_config.interactions.chat = cc_config.interactions.chat or {}
cc_config.interactions.chat.tools = cc_config.interactions.chat.tools or {}
cc_config.interactions.chat.variables = cc_config.interactions.chat.variables or {}
require("mcphub.extensions.codecompanion").setup({
make_vars = true,
make_slash_commands = true,
show_result_in_chat = true,
})
end
@@ -1 +0,0 @@
require("mcphub").setup({})