modules/lsp/server: declare package defaults

Convert the `attrsOf (servers.nix)` option to a freeform submodule.

Declare a `servers.nix` option for each lsp server listed in
`lsp-packages.nix` that has a known nixpkgs package.
This commit is contained in:
Matt Sturgeon 2025-04-29 02:44:19 +01:00
parent 276abde288
commit e34eaf8395
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 98 additions and 29 deletions

View file

@ -35,7 +35,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
> setup that relate to neovim's builtin LSP and are now being moved to the
> new [`lsp`] module.
[`lsp`]: ../../lsp/servers.md
[`lsp`]: ../../lsp/servers/index.md
[`plugins.lsp`]: ../lsp/index.md
[nvim-lspconfig]: ${opts.package.default.meta.homepage}
'';