perf(plugin): cache lazy handler values

This commit is contained in:
Folke Lemaitre 2023-10-16 23:04:57 +02:00
parent 2f169e74d4
commit c1b9887373
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 2 additions and 1 deletions

View File

@ -594,7 +594,8 @@ function M.has_errors(plugin)
return false
end
-- Merges super values or runs the values function to override values or return new ones
-- Merges super values or runs the values function to override values or return new ones.
-- Values are cached for performance.
-- Used for opts, cmd, event, ft and keys
---@param plugin LazyPlugin
---@param prop string