mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +01:00
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.
This commit is contained in:
parent
dca0aa2def
commit
a19a016458
1 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ config, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
inherit (lib.nixvim) defaultNullOpts;
|
inherit (lib.nixvim) defaultNullOpts;
|
||||||
|
|
@ -170,6 +175,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
Please disable one of them.
|
Please disable one of them.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraPlugins = [
|
||||||
|
# Next edit suggestion support
|
||||||
|
pkgs.vimPlugins.copilot-lsp
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: introduced 2025-01-07: remove after 25.05
|
# TODO: introduced 2025-01-07: remove after 25.05
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue