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

calling write fails with E17 path is a directory #50

Closed
matu3ba opened this issue Aug 17, 2022 · 4 comments
Closed

calling write fails with E17 path is a directory #50

matu3ba opened this issue Aug 17, 2022 · 4 comments

Comments

@matu3ba
Copy link

matu3ba commented Aug 17, 2022

config:

use { 'elihunter173/dirbuf.nvim', config = function() require("dirbuf").setup { write_cmd = "DirbufSync -confirm" } end, }

However, manually running the command :DirbufSync -confirm works as expected.

The behavior occurs both from opening a directory and opening a file first and then calling :Dirfuf %
Is this behavior expected? If yes, then it should be documented.

Side question: Is there a difference in using :e pathtodir and :Dirbuf pathtodir?

@matu3ba
Copy link
Author

matu3ba commented Aug 17, 2022

known workaround: Use the first time :w! to force the write.
Subsequent writes will work as expected.

@ojroques
Copy link

I have the same issue on Neovim nightly. Maybe the same issue as #45.

@elihunter173
Copy link
Owner

Is this behavior expected? If yes, then it should be documented.

This behavior is not expected. Are you using Neovim nightly? If yes, then I'll close this issue as a duplicate of #45 since I just re-opened that for investigation.

@matu3ba
Copy link
Author

matu3ba commented Aug 31, 2022

Yes, I am using Neovim nightly. Closed as duplicate of #45.

@matu3ba matu3ba closed this as completed Aug 31, 2022
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

3 participants