From 32e96d011ad8948fd575d9250d4b67dd0967a0d1 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 18 Jun 2025 09:00:45 +0200 Subject: [PATCH] feat(nvim): disable general auto-completion sources in codecompanion chat --- neovim/blink-cmp.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neovim/blink-cmp.lua b/neovim/blink-cmp.lua index 5f28792..3235655 100644 --- a/neovim/blink-cmp.lua +++ b/neovim/blink-cmp.lua @@ -14,7 +14,11 @@ require("blink-cmp").setup({ }, signature = { enabled = true }, sources = { - default = { "copilot", "lsp", "buffer", "path", "cmdline", "codecompanion" }, + default = { "copilot", "lsp", "buffer", "path", "cmdline" }, + + per_filetype = { + codecompanion = { "codecompanion" } + }, providers = { copilot = {