nix-community.nixvim/tests/checks.nix
Alexander Nortung 2258eb8df8
misc: added flake template (#219)
* Added simple flake template

* Added readme to template

* Updated readme to show how to use the template

* Formatting

* removed unused file from template

* Fixed template url and pkgs

* Formatting
2023-03-03 09:18:52 +00:00

16 lines
351 B
Nix

{
makeNixvim,
pkgs,
} @ args: let
tests = import ./plugins {inherit (pkgs) lib;};
check = import ../lib/check.nix args;
checkConfig = check.checkNvim;
in
# We attempt to build & execute all configurations
builtins.mapAttrs (
name: config: let
nvim = makeNixvim config;
in
checkConfig {inherit name nvim;}
)
tests