mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
modules/keymaps: more verbose lua
deprecation
Include the offending definition(s) in the warning.
This commit is contained in:
parent
cf037458dd
commit
9b340f8bab
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue