mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/emmet: remove uselessly strict typing
This commit is contained in:
parent
b30e8a1eda
commit
b3c9e566aa
1 changed files with 1 additions and 6 deletions
|
@ -5,11 +5,6 @@
|
||||||
} @ attrs:
|
} @ attrs:
|
||||||
with lib; let
|
with lib; let
|
||||||
helpers = import ../helpers.nix {inherit lib;};
|
helpers = import ../helpers.nix {inherit lib;};
|
||||||
|
|
||||||
eitherAttrsStrInt = with types; let
|
|
||||||
strInt = either str int;
|
|
||||||
in
|
|
||||||
either strInt (attrsOf (either strInt (attrsOf strInt)));
|
|
||||||
in
|
in
|
||||||
with helpers.vim-plugin;
|
with helpers.vim-plugin;
|
||||||
mkVimPlugin attrs {
|
mkVimPlugin attrs {
|
||||||
|
@ -31,7 +26,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = mkDefaultOpt {
|
settings = mkDefaultOpt {
|
||||||
type = types.attrsOf (types.attrsOf eitherAttrsStrInt);
|
type = with types; attrsOf anything;
|
||||||
global = "settings";
|
global = "settings";
|
||||||
description = "Emmet settings";
|
description = "Emmet settings";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue