refactor(registry): add per-host uniqueness predicate
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
{
|
||||
checks = [
|
||||
{
|
||||
assertion = util.registry.predicates.uniqueValue (entry: {
|
||||
inherit (entry) host;
|
||||
inherit (entry.value) keys;
|
||||
});
|
||||
assertion = util.registry.predicates.uniquePerHost (entry: entry.value.keys);
|
||||
message = "Desktop keybinds must use unique key chords per host.";
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user