mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
runtime(doc): clarify W11 warning and possible options
fixes: #18589 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -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
|
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.
|
This message is not given when 'buftype' is not empty.
|
||||||
Also see the |FileChangedShell| autocommand.
|
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
|
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
|
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:
|
starts. It can be fixed in one of these ways:
|
||||||
|
|||||||
Reference in New Issue
Block a user