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

Oil Buffer Unmodifiable After a File Operation #4

Closed
unrealapex opened this issue Jan 2, 2023 · 2 comments
Closed

Oil Buffer Unmodifiable After a File Operation #4

unrealapex opened this issue Jan 2, 2023 · 2 comments

Comments

@unrealapex
Copy link
Contributor

After modifying a file and returning to the Oil buffer, it is not modifiable.

@stevearc
Copy link
Owner

stevearc commented Jan 2, 2023

It took me a while to figure out how you triggered this. I'll add an issue template, but in the future I'd highly recommend providing exact steps for how to replicate the issue. It helps enormously when trying to reproduce it.

I was able to hit this by

  1. Open an oil buffer nvim .
  2. Make any edits (e.g. create a file)
  3. :w
  4. When the preview window is displayed, cancel it
    Expected: I should be able to make more changes to the oil buffer
    Actual: the oil buffer is not modifiable

If that was what was causing the problem for you, it should be fixed! If you were encountering it some other way, please provide detailed steps to reproduce it.

@unrealapex
Copy link
Contributor Author

Indeed your commit fixed the issue. My apologies, I will do so next time.

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

No branches or pull requests

2 participants