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

When browsing directories with netrw, the "read-only" prompt is being displayed #1

Open
nfvs opened this issue Aug 4, 2014 · 2 comments
Assignees

Comments

@nfvs
Copy link
Owner

nfvs commented Aug 4, 2014

No description provided.

@nfvs nfvs self-assigned this Aug 4, 2014
@IAXES
Copy link

IAXES commented Apr 7, 2017

The same thing happens with nerdTree. I don't think this is a bug in vim-perforce, since:

  1. The conditions under which the plugin (netrw) decides that a file is read-only are indeed correct (ie: file perms are 0444).
  2. To remedy this, the file viewer plugin (netrw and/or nerdTree, for example), would have to refresh its own view, which might be expensive (at least in the case of nerdTree, which will recursively re-index the top-level folder it's viewing).
  3. A permanent solution would either require cross-plugin compatibility, or some mangling of FS attributes, which would likely break Perforce along with the plugin.

For those reasons, I think it's fair to say that this issue can be closed.

@nfvs
Copy link
Owner Author

nfvs commented Dec 21, 2017

My thinking was to simply disable the prompt when browsing with netrw.

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