Skip to content

Commit

Permalink
perf(plugin): cache lazy handler values
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 16, 2023
1 parent 2f169e7 commit c1b9887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1b9887

Please sign in to comment.