-
i tried adding codecompanion to cmp, but it always says "unavailable" -- sources for autocompletion
sources = cmp.config.sources({
{ name = "nvim_lsp"},
{ name = "codecompanion_models" },
{ name = "codecompanion_slash_commands" },
{ name = "codecompanion_tools" },
{ name = "codecompanion_variables" },
{ name = "luasnip" }, -- snippets
{ name = "buffer" }, -- text within current buffer
{ name = "path" }, -- file system paths
}),
chat works fine, but i was hoping to use this with cmp. |
Beta Was this translation helpful? Give feedback.
Answered by
olimorris
Nov 26, 2024
Replies: 1 comment 1 reply
-
The plugin doesn't offer suggestions if that's what you're referring to with "use this with cmp". The slash commands in the chat buffer utilise cmp for the completion menu |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The plugin doesn't offer suggestions if that's what you're referring to with "use this with cmp". The slash commands in the chat buffer utilise cmp for the completion menu