fix(extras): disable blink path source in CopilotChat (#5666)

Co-authored-by: svirschevskiy <alexey.svirshchevskiy@sitoo.com>
This commit is contained in:
S1M0N38 2025-03-08 11:19:50 +01:00
parent ec5981dfb1
commit a76b4c0b96
No known key found for this signature in database

View file

@ -85,4 +85,24 @@ return {
})
end,
},
-- Blink integration
{
"saghen/blink.cmp",
optional = true,
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
sources = {
providers = {
path = {
-- Path sources triggered by "/" interfere with CopilotChat commands
enabled = function()
return vim.bo.filetype ~= "copilot-chat"
end,
},
},
},
},
},
}