nix-community.nixvim/plugins/by-name/codeium-nvim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
754 B
Nix
Raw Normal View History

2024-01-01 21:50:06 +01:00
{
lib,
...
}:
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkNeovimPlugin {
name = "codeium-nvim";
packPathName = "codeium.nvim";
moduleName = "codeium";
maintainers = with lib.maintainers; [
GaetanLepage
khaneliman
];
# TODO: added 2024-09-03 remove after 24.11
inherit (import ./deprecations.nix) deprecateExtraOptions optionsRenamedToSettings;
2024-01-01 21:50:06 +01:00
# Register nvim-cmp association
imports = [
{ cmpSourcePlugins.codeium = "codeium-nvim"; }
];
settingsExample = lib.literalExpression ''
{
enable_chat = true;
tools = {
curl = lib.getExe pkgs.curl;
gzip = lib.getExe pkgs.gzip;
uname = lib.getExe' pkgs.coreutils "uname";
uuidgen = lib.getExe' pkgs.util-linux "uuidgen";
};
}
'';
2024-01-01 21:50:06 +01:00
}