add blink sources
This commit is contained in:
parent
b5d81a5a69
commit
a13d094773
1 changed files with 28 additions and 0 deletions
|
|
@ -1,6 +1,34 @@
|
||||||
{
|
{
|
||||||
plugins.blink-cmp = {
|
plugins.blink-cmp = {
|
||||||
settings = {
|
settings = {
|
||||||
|
sources = {
|
||||||
|
default = [
|
||||||
|
"lsp"
|
||||||
|
"path"
|
||||||
|
"luasnip"
|
||||||
|
"buffer"
|
||||||
|
"copilot"
|
||||||
|
];
|
||||||
|
providers = {
|
||||||
|
copilot = {
|
||||||
|
async = true;
|
||||||
|
module = "blink-copilot";
|
||||||
|
name = "copilot";
|
||||||
|
score_offset = 100;
|
||||||
|
# Optional configurations
|
||||||
|
opts = {
|
||||||
|
max_completions = 3;
|
||||||
|
max_attempts = 4;
|
||||||
|
kind = "Copilot";
|
||||||
|
debounce = 750;
|
||||||
|
auto_refresh = {
|
||||||
|
backward = true;
|
||||||
|
forward = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue