mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
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`. |
||
|---|---|---|
| .. | ||
| default.nix | ||
| global-server.nix | ||
| server-renames.nix | ||
| server.nix | ||