neovim-flake/modules/wrapper/environment/config.nix
2024-12-22 21:46:17 +01:00

13 lines
188 B
Nix

{
config,
lib,
...
}: let
inherit (lib.attrsets) attrValues;
cfg = config.vim;
in {
config = {
vim.startPlugins = map (x: x.package) (attrValues cfg.extraPlugins);
};
}