From 9b340f8babb5dcf5f3b25b559db19ad8a610791e Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 28 May 2024 19:06:48 +0100 Subject: [PATCH] modules/keymaps: more verbose `lua` deprecation Include the offending definition(s) in the warning. --- modules/keymaps.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/keymaps.nix b/modules/keymaps.nix index bc4db7a6..2780bce9 100644 --- a/modules/keymaps.nix +++ b/modules/keymaps.nix @@ -68,7 +68,10 @@ with lib; count = length def.value; plural = count > 1; in - "Found ${toString count} use${optionalString plural "s"} in ${def.file}" + '' + Found ${toString count} use${optionalString plural "s"} in ${def.file}: + ${generators.toPretty { } def.value} + '' )) ]; in