nix-community.nixvim/plugins/lsp
Matt Sturgeon 10f899d669
plugins/lsp: correct motivation for onAttach alias impl
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.
2025-05-08 15:51:18 +01:00
..
language-servers plugins/lsp/servers: replace rootDir with rootMarkers 2025-04-25 16:04:38 +01:00
default.nix plugins/lsp: correct motivation for onAttach alias impl 2025-05-08 15:51:18 +01:00
lsp-packages.nix plugins/lsp: mark ruff_lsp as unpackaged 2025-04-24 12:48:41 +02:00