plugins/emmet: remove uselessly strict typing

This commit is contained in:
Gaetan Lepage 2024-02-09 10:38:48 +01:00 committed by Gaétan Lepage
parent b30e8a1eda
commit b3c9e566aa

View file

@ -5,11 +5,6 @@
} @ attrs:
with lib; let
helpers = import ../helpers.nix {inherit lib;};
eitherAttrsStrInt = with types; let
strInt = either str int;
in
either strInt (attrsOf (either strInt (attrsOf strInt)));
in
with helpers.vim-plugin;
mkVimPlugin attrs {
@ -31,7 +26,7 @@ in
};
settings = mkDefaultOpt {
type = types.attrsOf (types.attrsOf eitherAttrsStrInt);
type = with types; attrsOf anything;
global = "settings";
description = "Emmet settings";
};