harmonize/fix format option [hcl,terraform]

This commit is contained in:
ppenguin 2026-03-17 12:16:20 +01:00
commit 89ad433fd1
No known key found for this signature in database
GPG key ID: 7E7143B546BB17A7
2 changed files with 8 additions and 4 deletions

View file

@ -78,7 +78,7 @@ in {
defaultText = literalExpression "config.vim.languages.enableFormat";
};
type = mkOption {
type = deprecatedSingleOrListOf "vim.language.hcl.format.type" (enum (attrNames formats));
type = listOf (enum (attrNames formats));
default = defaultFormat;
description = "HCL formatter to use";
};