CodeCompation + MCPHub #1191
-
When I restart Neovim, start a chat, and press ?, I get the following error:
I’ve noticed that this error only occurs if I had previously enabled the server in MCPHub. However, if I start Neovim, open the chat, then launch MCPHub, and finally press ?, everything works fine.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, mcphub.nvim v4 converts MCP resources to chat variables. Some mcphub variables' have new lines in their description. When you press "?" variable description is also rendered. I think we should handle newlines in the description. I will open a PR for this soon and will fix it. Edit: Not doing a PR because having new lines rendered removes the nice indentation and places variable in more than one line which is ugly. Instead updated mcphub to add desc without new lines |
Beta Was this translation helpful? Give feedback.
-
It is fixed now. Update mcphub and try it. |
Beta Was this translation helpful? Give feedback.
It is fixed now. Update mcphub and try it.