plugins/lsp/language-servers: add extraOptions argument to mkLsp

This commit is contained in:
Gaetan Lepage 2024-05-14 16:18:57 +02:00 committed by Gaétan Lepage
parent e035d22b64
commit e97755be47

View file

@ -14,6 +14,7 @@
settings ? (cfg: cfg),
settingsOptions ? { },
extraConfig ? cfg: { },
extraOptions ? { },
...
}:
# returns a module
@ -87,7 +88,7 @@ in
type = types.attrsOf types.anything;
description = "Extra options for the ${name} language server.";
};
};
} // extraOptions;
};
config = mkIf cfg.enable {