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

newvim :setlocal buftype=acwrite & E676 #194

Open
JESii opened this issue Dec 22, 2021 · 0 comments
Open

newvim :setlocal buftype=acwrite & E676 #194

JESii opened this issue Dec 22, 2021 · 0 comments

Comments

@JESii
Copy link

JESii commented Dec 22, 2021

I've been using this plugin for ages and love it.

Recently, however, it's now setting local valuebuftype=acwrite when I open a saved session which leads to an E676 when I try to save the file. I switched to using neovim in the past several weeks, after trying coc:nvim with no problems.
Once the buftyype=acwrite is set, it sticks to the file, even if I open the file without sessions.

TEst sequence

  • Open file - buftype=""
  • Save file
  • Reopen file - buftype=""
  • Save session - buftype=""
  • Reopen session = buftype="acwrite"
  • Reopen file = buftype=acwrite"
  • :setlocal buftype=""
  • Save file
  • Reopen file - buftype=""
  • Reopen session = buftype=acwrite"

There is at least one file for which this doesn't happen; ls -la appears similar for both files. So far, OpenSession is the only thing I'm experiencing that sets this invalid buftype="acwrite" value. I checked the MacOS extended attributes and both files have no other attributes.

I'm on Mac BigSur
nvim - 0.5.1, compiled via homebrew

I retested this with vim and do not have that problem.

Any suggestions on what I should look for to resolve this?

@JESii JESii changed the title :setlocal buftype=acwrite & E676 newvim :setlocal buftype=acwrite & E676 Dec 22, 2021
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

1 participant