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:
|
||||
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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue