fix: update formatType in vue.nix to be nonEmptyListOf

This commit is contained in:
Mia 2026-03-11 13:14:48 +01:00
commit 699e848491

View file

@ -8,7 +8,7 @@
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.modules) mkIf mkMerge;
inherit (lib.meta) getExe;
inherit (lib.types) enum listOf;
inherit (lib.types) enum listOf nonEmptyListOf;
inherit (lib.generators) mkLuaInline;
inherit (lib.nvim.attrsets) mapListToAttrs;
inherit (lib.nvim.types) mkGrammarOption diagnostics;
@ -91,7 +91,7 @@
};
};
formatType =
enum (attrNames formats);
nonEmptyListOf (enum (attrNames formats));
in {
_file = ./vue.nix;
options.vim.languages.vue = {