correct ordering

This commit is contained in:
Marlon Rosenberg 2025-03-25 22:16:20 +00:00 committed by NotAShelf
parent f605bceeca
commit 05da6e3318
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -61,14 +61,14 @@ in {
enable = mkEnableOption "F# LSP support" // {default = config.vim.languages.enableLSP;};
server = mkOption {
type = enum (attrNames servers);
description = "F# LSP server to use";
default = defaultServer;
description = "F# LSP server to use";
};
package = mkOption {
type = either package (listOf str);
description = "F# LSP server package, or the command to run as a list of strings";
default = servers.${cfg.lsp.server}.package;
description = "F# LSP server package, or the command to run as a list of strings";
};
};
format = {
@ -76,14 +76,14 @@ in {
type = mkOption {
type = enum (attrNames formats);
description = "F# formatter to use";
default = defaultFormat;
description = "F# formatter to use";
};
package = mkOption {
type = package;
description = "F# formatter package";
default = formats.${cfg.format.type}.package;
description = "F# formatter package";
};
};
};