Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: initialize data during Harpoon.setup #598

Closed
wants to merge 1 commit into from

Conversation

maxrzaw
Copy link

@maxrzaw maxrzaw commented May 19, 2024

fixes #577

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.

@maxrzaw
Copy link
Author

maxrzaw commented May 21, 2024

Oops, this is a duplicate of #572

@maxrzaw maxrzaw closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant