Can't insert files, no file selection pops up #2626
-
|
My config: return {
"olimorris/codecompanion.nvim",
commit = "3c1b2e3",
dependencies = {
"nvim-lua/plenary.nvim",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "lua", "markdown", "markdown_inline", "yaml" },
highlight = { enable = true },
})
end,
},
},
opts = {
default_adapter = "fast",
adapters = { ... },
interactions = {
chat = {
adapter = "fast",
slash_commands = {
["file"] = {
opts = {
provider = "default", -- tried "telescope" as well
},
},
},
},
},
},
}When I type "/file" I see the cmp options picker come up, but when I hit enter, or select the /file option from the dropdown and press or space nothing happens, it just enters to the next line. I have no mappings on so I'm a bit stumped... How can I make the file picker work? I'm using nvim v0.11.3. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Adding this dependency seems to have fixed it: |
Beta Was this translation helpful? Give feedback.
-
|
The Getting Started guide and Chat Buffer Config cover this. If you don't have either blink, cmp or coc installed you can use native Neovim completions. |
Beta Was this translation helpful? Give feedback.
The Getting Started guide and Chat Buffer Config cover this. If you don't have either blink, cmp or coc installed you can use native Neovim completions.