From a19a0164584801d1d1b7cde863976f97d9ca155c Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 2 Oct 2025 10:23:09 -0500 Subject: [PATCH] plugins/copilot-lua: add copilot-lsp Enables next edit suggestion support. Enabling configuration without plugin will throw an error. Also, will allow sidekick to use copilot-lsp for it's own support. --- plugins/by-name/copilot-lua/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/by-name/copilot-lua/default.nix b/plugins/by-name/copilot-lua/default.nix index 468b5b25..66186759 100644 --- a/plugins/by-name/copilot-lua/default.nix +++ b/plugins/by-name/copilot-lua/default.nix @@ -1,4 +1,9 @@ -{ config, lib, ... }: +{ + config, + lib, + pkgs, + ... +}: let inherit (lib) types; inherit (lib.nixvim) defaultNullOpts; @@ -170,6 +175,11 @@ lib.nixvim.plugins.mkNeovimPlugin { Please disable one of them. ''; }; + + extraPlugins = [ + # Next edit suggestion support + pkgs.vimPlugins.copilot-lsp + ]; }; # TODO: introduced 2025-01-07: remove after 25.05