correct ordering

This commit is contained in:
Marlon Rosenberg 2025-03-25 22:16:20 +00:00
parent 2aa1879996
commit d92b3f3714

View file

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