2023-02-20 11:42:13 +01:00
|
|
|
{
|
|
|
|
lib,
|
2023-11-06 15:04:08 +01:00
|
|
|
config,
|
2024-02-09 14:31:04 +01:00
|
|
|
helpers,
|
2023-02-20 11:42:13 +01:00
|
|
|
pkgs,
|
|
|
|
...
|
2023-11-06 15:04:08 +01:00
|
|
|
}:
|
2023-02-20 11:42:13 +01:00
|
|
|
with lib; let
|
2024-02-09 14:31:04 +01:00
|
|
|
cmpLib = import ../cmp-helpers.nix {inherit lib config helpers pkgs;};
|
2023-11-06 15:04:08 +01:00
|
|
|
cmpSourcesPluginNames = attrValues cmpLib.pluginAndSourceNames;
|
2023-02-20 11:42:13 +01:00
|
|
|
pluginModules = lists.map (name: cmpLib.mkCmpSourcePlugin {inherit name;}) cmpSourcesPluginNames;
|
|
|
|
in {
|
2022-07-28 21:38:38 +02:00
|
|
|
# For extra cmp plugins
|
2023-02-20 11:42:13 +01:00
|
|
|
imports =
|
|
|
|
[
|
2024-01-01 21:50:06 +01:00
|
|
|
./codeium-nvim.nix
|
2023-06-22 10:21:24 +02:00
|
|
|
./copilot-cmp.nix
|
2024-01-22 14:00:24 +01:00
|
|
|
./cmp-tabby.nix
|
2023-02-23 00:32:55 +01:00
|
|
|
./cmp-tabnine.nix
|
2023-06-14 11:30:30 +02:00
|
|
|
./crates-nvim.nix
|
2023-02-20 11:42:13 +01:00
|
|
|
]
|
|
|
|
++ pluginModules;
|
2022-07-28 21:38:38 +02:00
|
|
|
}
|