mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Previously I said we alias the definitions instead of the value to allow `mkOrder` to work correctly. That is incorrect, as order-priorities are already sorted in `<opt>.definitions`. The actual reason to use the definitions instead of the final value is to avoid inf-recursion. The "from" option's `apply` function would read the "to" option's value, which is defined based on the "from" option's value, which is set by the "from" option's apply function... For a one-way binding, `mkDerivedConfig` is best. For a two-way binding, `mkAliasAndWrapDefsWithPriority` is necessary. |
||
---|---|---|
.. | ||
language-servers | ||
default.nix | ||
lsp-packages.nix |