fix(data): mark list as seen if found in Harpoon:list()

This commit is contained in:
Will Hopkins 2023-12-08 13:05:37 -08:00
parent 515bdd0058
commit 10c79d8f4f
No known key found for this signature in database
GPG Key ID: 643B8C585BABBB68

View File

@ -51,6 +51,10 @@ function Harpoon:list(name)
local existing_list = lists[name]
if existing_list then
if not self.data.seen[key] then
self.data.seen[key] = {}
end
self.data.seen[key][name] = true
return existing_list
end