Skip to content

Commit

Permalink
clear harpoon lists on directory change
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicboots committed Jul 21, 2024
1 parent e58645d commit 09e58f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/harpoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ end
---Resets harpoon data by reading from disk
function Harpoon:reset()
self.data = Data.Data:new(self.config)
self.lists = {}
end

function Harpoon:sync()
Expand Down

0 comments on commit 09e58f9

Please sign in to comment.