elihunter173/dirbuf.nvim

Can't write files to directory (E17: is a directory)

bscuron opened this issue · 9 comments

When I try to write a file to a directory I get an error: "E17: is a directory". I am forced to write to the directory using ":w!"

I am only having this problem on MacOS. In Ubuntu WSL I am able to write files no problem.

Hey, @bscuron.

Is this happen to you on nvim stable? I'm having the same problem here, though only in nvim nightly.

Hey, @bscuron.

Is this happen to you on nvim stable? I'm having the same problem here, though only in nvim nightly.

On nightly, will try stable.

Hey, @bscuron.

Is this happen to you on nvim stable? I'm having the same problem here, though only in nvim nightly.

Stable works for me. When I get some time, I will check and see what can be causing this in nightly.

Thanks!

Might be worth asking in the Neovim Matrix. I experienced a similar issue awhile back which IIRC was caused by nightly changing the default shortmess options. I'll try to ask the Neovim Matrix and/or bisect Neovim to see what happened

luxus commented

@elihunter173 any news on that? would like to use the addon with the nightly

Thank you for the reminder! I'll investigate and ask on the matrix chat today. Re-opening until this gets sorted out

Note: As a workaround you can either directly invoke DirbufSync or you can issue :w! (:w! pointed out by @matu3ba)

I experienced a similar issue awhile back which IIRC was caused by nightly changing the default shortmess options

Here's the old issue + PR I mentioned earlier: neovim/neovim#18295 + neovim/neovim#18296

Just did a bisect. This issue was introduced by neovim/neovim@0cf5cd1