Since Data:new() was being called before Harpoon.setup(config), it was loading the file for the hash of vim.loop.cwd() rather than key. This causes the data file for key to be overwritten when sync is called.
I am having trouble running the tests on a Mac so I have no idea if they are passing.
fixes #577
Since
Data:new()
was being called beforeHarpoon.setup(config)
, it was loading the file for the hash ofvim.loop.cwd()
rather than key. This causes the data file for key to be overwritten when sync is called.I am having trouble running the tests on a Mac so I have no idea if they are passing.