Skip to content

Commit c1b9887

Browse files
committed
perf(plugin): cache lazy handler values
1 parent 2f169e7 commit c1b9887

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/lazy/core/plugin.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,8 @@ function M.has_errors(plugin)
594594
return false
595595
end
596596

597-
-- Merges super values or runs the values function to override values or return new ones
597+
-- Merges super values or runs the values function to override values or return new ones.
598+
-- Values are cached for performance.
598599
-- Used for opts, cmd, event, ft and keys
599600
---@param plugin LazyPlugin
600601
---@param prop string

0 commit comments

Comments
 (0)