Help has this to say:
*W16*
Warning: Mode of file "{filename}" has changed since editing started
When the timestamp for a buffer was changed and the contents are still the
same but the mode (permissions) have changed. This usually occurs when
checking out a file from a version control system, which causes the read-only
bit to be reset. It should be safe to reload the file. Set 'autoread' to
automatically reload the file.
Is there a fix besides set autoread? In my usage, 100% of the time I get
this warning when I run a command like
:! chmod 755 %
I get that it is helpful to detect for some usecases, but I'd like this
to just be silenced and ignored all of the time. I'm hoping there is
some vim setting I don't know about which will take a list of
warnings to not warn about.
Elijah
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/4CVx165qlpzfYm%40panix5.panix.com.
Tuesday, November 10, 2020
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment