mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-10 19:11:08 +01:00
`lib.pipe` strictly evaluates intermediate steps using `foldl'`. As a result, piping `(opts: opts.package.default or null)` → `(package: (tryEval package).value)` is ineffective because `opts.package.default` is evaluated before `tryEval` can catch exceptions. Instead, inline `opts.package.default` directly into the `tryEval` expression, ensuring missing package errors caught correctly. Resolves errors when building NixOS or nix-darwin docs that include Nixvim options. Adds a regression test. |
||
|---|---|---|
| .. | ||
| colorschemes | ||
| example-configurations | ||
| modules | ||
| plugins | ||
| env.nix | ||
| examples.nix | ||
| extended-lib.nix | ||