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 14bc100a5e
commit 6fc691a7c3

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