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;
|
count = length def.value;
|
||||||
plural = count > 1;
|
plural = count > 1;
|
||||||
in
|
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
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue