mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
19 lines
413 B
Nix
19 lines
413 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
} @ attrs:
|
|
with lib; let
|
|
cmpLib = import ../cmp-helpers.nix attrs;
|
|
cmpSourcesPluginNames = lib.attrValues cmpLib.pluginAndSourceNames;
|
|
pluginModules = lists.map (name: cmpLib.mkCmpSourcePlugin {inherit name;}) cmpSourcesPluginNames;
|
|
in {
|
|
# For extra cmp plugins
|
|
imports =
|
|
[
|
|
./copilot-cmp.nix
|
|
./cmp-tabnine.nix
|
|
./crates-nvim.nix
|
|
]
|
|
++ pluginModules;
|
|
}
|