1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/modules/lsp/servers
Matt Sturgeon 20a7c92306 modules/lsp: handle missing package in server option desc
The `lsp.servers.<name>` option description links to the server's
homepage if it can evaluate the default package's `meta.homepage`.

However, users may evaluate this description, e.g. when building NixOS
docs with `documentation.nixos.includeAllModules`. Further, users may
have a different nixpkgs revisions to ours. Therefore, we need to allow
for the package not being in nixpkgs.

Since `mkPackageOption` will throw in the default, we can catch it with
`tryEval`.
2025-10-07 21:41:36 +00:00
..
default.nix modules/lsp: handle missing package in server option desc 2025-10-07 21:41:36 +00:00
global-server.nix modules/lsp/servers: move to dedicated file/dir 2025-05-05 23:43:30 +01:00
server-renames.nix modules/lsp/servers: move to dedicated file/dir 2025-05-05 23:43:30 +01:00
server.nix modules/lsp: port packageFallback option from plugins.lsp 2025-09-28 23:07:35 +00:00