mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-11 19:41:11 +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. |
||
|---|---|---|
| .. | ||
| performance | ||
| autocmd.nix | ||
| clipboard.nix | ||
| commands.nix | ||
| dependencies.nix | ||
| diagnostics.nix | ||
| editorconfig.nix | ||
| extra-files.nix | ||
| files.nix | ||
| filetypes.nix | ||
| highlight.nix | ||
| keymaps.nix | ||
| lsp.nix | ||
| lua-loader.nix | ||
| options.nix | ||
| output.nix | ||
| version.nix | ||