1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-15 05:21:08 +01:00

plugins/windsurf-nvim: rename codeium-nvim

Rename plugin, use new packpathname, and update deprecations to point
from old name to new name.
This commit is contained in:
Austin Horstman 2025-04-19 12:22:25 -05:00 committed by nix-infra-bot
parent 662a7c8dc7
commit 1971ec5b2b
4 changed files with 63 additions and 46 deletions

View file

@ -1,47 +0,0 @@
{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "codeium-nvim";
packPathName = "codeium.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.
'';
# TODO: added 2024-09-03 remove after 24.11
inherit (import ./deprecations.nix) deprecateExtraOptions optionsRenamedToSettings;
# Register nvim-cmp association
imports = [
{ cmpSourcePlugins.codeium = "codeium-nvim"; }
];
settingsExample = {
enable_chat = true;
};
extraConfig = {
dependencies =
lib.genAttrs
[
"curl"
"gzip"
"coreutils"
"util-linux"
"codeium"
]
(_: {
enable = lib.mkDefault true;
});
};
}