1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-19 23:41:13 +01:00
nixvim/modules/lsp
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
..
servers modules/lsp: handle missing package in server option desc 2025-10-07 21:41:36 +00:00
default.nix modules/lsp: add onAttach option 2025-05-06 14:08:03 +01:00
keymaps.nix modules/lsp: select relevant fields in keymaps table 2025-09-30 17:01:17 +00:00
on-attach.nix modules/lsp/onAttach: fix bufnr and document event arg 2025-05-13 18:45:00 +01:00