mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
tests/generated: validate declared lsp packages
This commit is contained in:
parent
7916df22d2
commit
0d2751b53c
2 changed files with 20 additions and 4 deletions
|
@ -186,10 +186,7 @@ let
|
|||
else if lib.hasAttr name lspPackages.customCmd then
|
||||
{ inherit (lspPackages.customCmd.${name}) package cmd; }
|
||||
else
|
||||
assert lib.assertMsg (lib.elem name lspPackages.unpackaged) "LSP server ${name} is unknown";
|
||||
{
|
||||
package = null;
|
||||
};
|
||||
{ package = null; };
|
||||
|
||||
generatedServers = lib.pipe ../../../generated/lspconfig-servers.json [
|
||||
lib.importJSON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue