Update format

This commit is contained in:
pynappo 2024-02-07 17:56:32 -08:00
commit a95bcb6ccc
No known key found for this signature in database

View file

@ -366,10 +366,10 @@ function Spec:normalize(spec, results)
end end
if ignored_keys_exist then if ignored_keys_exist then
-- HACK: Uses hashing order to insert the warning after integer keys, but before the rest of LazySpec's string keys -- HACK: Uses hashing order to insert the warning after integer keys, but before the rest of LazySpec's string keys
spec["WARNING:"] = "-- Ignored keys below! --" spec[" WARNING "] = "-- Ignored keys below! --"
self:warn( self:warn(
"This list of specs has extraneous keys - " "This list of plugin specs has extraneous keys - "
.. "they do not belong to any plugins, so they are currently ignored by lazy.nvim:\n" .. "they do not belong to any specs, so they are currently ignored by lazy.nvim:\n"
.. vim.inspect(spec, { .. vim.inspect(spec, {
depth = 2, depth = 2,
process = function(item, path) process = function(item, path)