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

Fixes issue where we attempt to access unloaded buffer #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tjbarber
Copy link

I found this issue while trying to get auto-save.nvim to work with Harpoon and Telescope but noticed I was getting these errors when I opened and closed Telescope quickly. After further investigation it looks like there is a condition where the plugin tries to save on an unloaded buffer so I added an early return if it is unloaded. The video below illustrates the problem:

demo.mp4

@primeapple
Copy link

primeapple commented Jan 2, 2024

Nice find! PRs here tend to get stale, so you may want to supply this PR to the mainained fork https://github.com/okuuva/auto-save.nvim

Disclaimer: I'm one of the maintainers.

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.

2 participants