From 998a5da5ff4a952ac8540bffd769b8b8199b9739 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Fri, 28 Apr 2023 06:54:04 +0200 Subject: [PATCH] fix: broken python lsp option --- modules/languages/python.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/languages/python.nix b/modules/languages/python.nix index ab80ca6..367391e 100644 --- a/modules/languages/python.nix +++ b/modules/languages/python.nix @@ -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 = {