mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
32 lines
546 B
Nix
32 lines
546 B
Nix
{
|
|
lib,
|
|
config,
|
|
helpers,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cmpLib = import ../cmp-helpers.nix {
|
|
inherit
|
|
lib
|
|
config
|
|
helpers
|
|
pkgs
|
|
;
|
|
};
|
|
cmpSourcesPluginNames = attrValues (import ../sources.nix);
|
|
pluginModules = map (name: cmpLib.mkCmpSourcePlugin { inherit name; }) cmpSourcesPluginNames;
|
|
in
|
|
{
|
|
# For extra cmp plugins
|
|
imports = [
|
|
./codeium-nvim.nix
|
|
./copilot-cmp.nix
|
|
./cmp-fish.nix
|
|
./cmp-git.nix
|
|
./cmp-tabby.nix
|
|
./cmp-tabnine.nix
|
|
./crates-nvim.nix
|
|
] ++ pluginModules;
|
|
}
|