runtime(doc): clarify W11 warning and possible options
Commit:
https://github.com/vim/vim/commit/213109a999c8c854c1af3bf57540e56afa23c20c
Author: Christian Brabandt <[email protected]>
Date: Sat Nov 1 17:04:43 2025 +0000
runtime(doc): clarify W11 warning and possible options
fixes: https://github.com/vim/vim/issues/18589
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 33b8fbdfe..a8d7b577c 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 9.1. Last change: 2025 Oct 12
+*message.txt* For Vim version 9.1. Last change: 2025 Nov 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -644,6 +644,22 @@ Set the 'autoread' option if you want to do this
automatically.
This message is not given when 'buftype' is not empty.
Also see the |FileChangedShell| autocommand.
+You will be given a dialog with the following options:
+
+"OK": Dismiss the warning and continue editing. No changes are
+ loaded, the buffer remains as it is.
+
+"Load File": Reload the file from disk, replacing the current buffer
+ contents. Any changes you made in Vim that haven't been saved
+ will be lost.
+
+"Load File and Options":
+ Reload the file from disk and, in addition, apply relevant
+ file settings, such as indentation, syntax highlighting, text
+ width, and other filetype-specific options. This ensures the
+ buffer matches the file's intended configuration according to
+ your current settings and autocommands.
+
There is one situation where you get this message even though there is nothing
wrong: If you save a file in Windows on the day the daylight saving time
starts. It can be fixed in one of these ways:
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vGllk-006kNr-GA%40256bit.org.