Skip to content

Commit

Permalink
plugins/emmet: remove uselessly strict typing
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Feb 9, 2024
1 parent b30e8a1 commit b3c9e56
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugins/utils/emmet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -31,7 +26,7 @@ in
};

settings = mkDefaultOpt {
type = types.attrsOf (types.attrsOf eitherAttrsStrInt);
type = with types; attrsOf anything;
global = "settings";
description = "Emmet settings";
};
Expand Down

0 comments on commit b3c9e56

Please sign in to comment.