mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-12 12:01:10 +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. |
||
|---|---|---|
| .. | ||
| servers | ||
| default.nix | ||
| keymaps.nix | ||
| on-attach.nix | ||