From a13d094773786bdfb236032ae900bfabaf289f7c Mon Sep 17 00:00:00 2001 From: osbm Date: Mon, 18 Aug 2025 17:24:08 +0300 Subject: [PATCH] add blink sources --- config/plugins/blink-cmp.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/config/plugins/blink-cmp.nix b/config/plugins/blink-cmp.nix index cb98844..b31a0b0 100644 --- a/config/plugins/blink-cmp.nix +++ b/config/plugins/blink-cmp.nix @@ -1,6 +1,34 @@ { 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; + }; + }; + }; + }; + }; }; }; }