Skip to content

Commit 022df4a

Browse files
handlecusionUzaaft
andauthored
fix(mcphub-nvim): preserve plugin spec fields (#1768)
* fix(mcphub-nvim): preserve plugin spec fields * Apply suggestion from @Uzaaft --------- Co-authored-by: Uzair Aftab <uzaaft@outlook.com>
1 parent 64dcf0b commit 022df4a

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Mcphub.nvim
22

3-
A powerful Neovim plugin for managing MCP (Model Context Protocol) servers
3+
A powerful Neovim plugin for managing MCP (Model Context Protocol) servers.
44

5-
_Note_: This plugin requires [mcp-hub](https://www.npmjs.com/package/mcp-hub) to be installed. This can be done with `npm`, `bun`, `yarn`, or `pnpm`.
5+
> [!NOTE]
6+
> This AstroCommunity spec configures the Neovim plugin only. Look at upstream docs for instructions on how to install.
67
78
**Repository:** <https://github.com/ravitemer/mcphub.nvim/tree/main>

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ return {
3939
end,
4040
},
4141
},
42-
},
43-
{
44-
"CopilotC-Nvim/CopilotChat.nvim",
45-
optional = true,
46-
opts = {
47-
extensions = {
48-
copilotchat = {
49-
enabled = true,
50-
convert_tools_to_functions = true,
51-
convert_resources_to_functions = true,
52-
add_mcp_prefix = false,
42+
{
43+
"CopilotC-Nvim/CopilotChat.nvim",
44+
optional = true,
45+
opts = {
46+
extensions = {
47+
copilotchat = {
48+
enabled = true,
49+
convert_tools_to_functions = true,
50+
convert_resources_to_functions = true,
51+
add_mcp_prefix = false,
52+
},
5353
},
5454
},
5555
},

0 commit comments

Comments
 (0)