From 897d1e8d7b0b86c0f6eb780366283c2ed5062312 Mon Sep 17 00:00:00 2001 From: Ducky SSH User Date: Sat, 6 Dec 2025 08:07:02 +0000 Subject: [PATCH] Disable warnings and mcp-hub --- lua/custom/plugins/code-companion.lua | 4 +++- lua/custom/plugins/mcp-hub.lua | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/lua/custom/plugins/code-companion.lua b/lua/custom/plugins/code-companion.lua index 04b34ce..f818132 100644 --- a/lua/custom/plugins/code-companion.lua +++ b/lua/custom/plugins/code-companion.lua @@ -1,6 +1,8 @@ return { 'olimorris/codecompanion.nvim', - opts = {}, + opts = { + ignore_warnings = true, + }, dependencies = { 'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter', diff --git a/lua/custom/plugins/mcp-hub.lua b/lua/custom/plugins/mcp-hub.lua index ad1af91..1c84c70 100644 --- a/lua/custom/plugins/mcp-hub.lua +++ b/lua/custom/plugins/mcp-hub.lua @@ -1,14 +1,14 @@ return { - 'ravitemer/mcphub.nvim', - dependencies = { - 'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests - }, - -- uncomment the following line to load hub lazily - --cmd = "MCPHub", -- lazy load - build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module - -- uncomment this if you don't want mcp-hub to be available globally or can't use -g - -- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration) - config = function() - require('mcphub').setup() - end, + -- 'ravitemer/mcphub.nvim', + -- dependencies = { + -- 'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests + -- }, + -- -- uncomment the following line to load hub lazily + -- --cmd = "MCPHub", -- lazy load + -- build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module + -- -- uncomment this if you don't want mcp-hub to be available globally or can't use -g + -- -- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration) + -- config = function() + -- require('mcphub').setup() + -- end, }