Something went wrong. Try again.
forked from nix-community/nixvim
Something went wrong. Try again.
1234567891011121314151617181920212223{ lib, ... }:let inherit (builtins) readDir; inherit (lib.attrsets) foldlAttrs; inherit (lib.lists) optional concatMap;
mkByName = dir: foldlAttrs ( prev: name: type: prev ++ optional (type == "directory") (dir + "/${name}") ) [ ] (readDir dir);in{ imports = [ ../plugins ] ++ concatMap mkByName [ ../colorschemes ../plugins/by-name ];}