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
|
2024-05-05 19:39:35 +02:00
|
|
|
;
|
2024-02-09 14:31:04 +01:00
|
|
|
};
|
2024-04-30 09:38:20 +02:00
|
|
|
cmpSourcesPluginNames = attrValues (import ../sources.nix);
|
2024-02-03 23:22:06 +01:00
|
|
|
pluginModules = map (name: cmpLib.mkCmpSourcePlugin { inherit name; }) cmpSourcesPluginNames;
|
2023-02-20 11:42:13 +01:00
|
|
|
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-04-29 16:19:54 +02:00
|
|
|
./cmp-fish.nix
|
2024-04-30 23:09:35 +02:00
|
|
|
./cmp-git.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
|
|
|
}
|