mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
37 lines
861 B
Nix
37 lines
861 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "windsurf-nvim";
|
|
packPathName = "windsurf.nvim";
|
|
moduleName = "codeium";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
GaetanLepage
|
|
khaneliman
|
|
];
|
|
|
|
description = ''
|
|
By default, enabling this plugin will also install the `curl`, `gzip`, `coreutils`, `util-linux` and `codeium` packages (via the `dependencies.*.enable` options`).
|
|
|
|
You are free to configure `dependencies.*.enable` and `dependencies.*.package` to disable or customize this behavior, respectively.
|
|
'';
|
|
|
|
dependencies = [
|
|
"curl"
|
|
"gzip"
|
|
"coreutils"
|
|
"util-linux"
|
|
"codeium"
|
|
];
|
|
|
|
imports = [
|
|
# Register nvim-cmp association
|
|
{ cmpSourcePlugins.codeium = "windsurf-nvim"; }
|
|
] ++ (import ./deprecations.nix { inherit lib; }).imports;
|
|
|
|
settingsExample = {
|
|
enable_chat = true;
|
|
};
|
|
}
|