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; + }; + }; + }; + }; + }; }; }; }