mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-21 17:59:41 +01:00
Previously, `lib/top-level.nix` used an `_isExtended` flag to indicate
whether the provided `lib` was already extended. This made bootstrapping
unclear and introduced the possibility of circular construction.
All construction now flows through the lib-overlay, removing
`_isExtended`. As a result, `lib/top-level.nix` always receives the
final extended lib.
The `<flake>.lib.nixvim` output is now defined as:
(lib.extend <nixvim>.lib.overlay).nixvim
The overlay now imports `top-level.nix` directly, making it the
canonical entrypoint for constructing Nixvim's section of the lib.
A clarifying doccomment was added to `lib/top-level.nix`.
|
||
|---|---|---|
| .. | ||
| plugins | ||
| autocmd-helpers.nix | ||
| builders.nix | ||
| deprecation.nix | ||
| keymap-helpers.nix | ||
| lua-types.nix | ||
| maintainers.nix | ||
| modules.nix | ||
| options.nix | ||
| overlay.nix | ||
| pkg-lists.nix | ||
| tests.nix | ||
| to-lua.nix | ||
| top-level.nix | ||
| types.nix | ||
| utils.internal.nix | ||
| utils.nix | ||