ordering of types

This commit is contained in:
sjcobb 2025-07-14 01:15:39 +01:00
commit e0cd56f39e
29 changed files with 54 additions and 54 deletions

View file

@ -57,28 +57,28 @@ in {
lsp = {
enable = mkEnableOption "Bash LSP support" // {default = config.vim.lsp.enable;};
servers = mkOption {
description = "Bash LSP server to use";
type = listOf (enum (attrNames servers));
default = defaultServers;
description = "Bash LSP server to use";
};
};
format = {
enable = mkOption {
description = "Enable Bash formatting";
type = bool;
default = config.vim.languages.enableFormat;
description = "Enable Bash formatting";
};
type = mkOption {
description = "Bash formatter to use";
type = enum (attrNames formats);
default = defaultFormat;
description = "Bash formatter to use";
};
package = mkOption {
description = "Bash formatter package";
type = package;
default = formats.${cfg.format.type}.package;
description = "Bash formatter package";
};
};