mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(extras): disable blink path source in CopilotChat (#5666)
Co-authored-by: svirschevskiy <alexey.svirshchevskiy@sitoo.com>
This commit is contained in:
parent
ec5981dfb1
commit
a76b4c0b96
1 changed files with 20 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue