lib: add mkLznBinding

This commit is contained in:
Ching Pei Yang 2024-08-03 18:41:41 +02:00 committed by Pei Yang Ching
parent a46502b939
commit eef3e773bc

View file

@ -67,6 +67,10 @@
mkLuaBinding binding.value action binding.description; mkLuaBinding binding.value action binding.description;
pushDownDefault = attr: mapAttrs (_: mkDefault) attr; pushDownDefault = attr: mapAttrs (_: mkDefault) attr;
mkLznBinding = mode: lhs: rhs: desc: {
inherit mode lhs rhs desc;
};
}; };
in in
binds binds