fix: broken python lsp option

This commit is contained in:
Ching Pei Yang 2023-04-28 06:54:04 +02:00
parent 9e224d710c
commit 998a5da5ff

View file

@ -64,7 +64,11 @@ in {
type = with types; enum (attrNames servers);
default = defaultServer;
};
package = nvim.types.mkGrammarOption pkgs "python";
package = mkOption {
description = "python LSP server package";
type = types.package;
default = servers.${cfg.lsp.server}.package;
};
};
format = {