Skip to content

Commit

Permalink
feat(picker): history per source. Closes #843
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Feb 1, 2025
1 parent 3ca54be commit 35295e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/snacks/picker/core/picker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function M.new(opts)
return M.resume()
end

self.history = require("snacks.picker.util.history").new("picker", {
self.history = require("snacks.picker.util.history").new("picker_" .. (self.opts.source or "custom"), {
---@param hist snacks.picker.history.Record
filter = function(hist)
if hist.pattern == "" and hist.search == "" then
Expand Down

0 comments on commit 35295e0

Please sign in to comment.