34 lines
717 B
Nix
34 lines
717 B
Nix
{
|
|
plugins.blink-cmp = {
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|