mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 14:29:02 +00:00
vim-patch:213109a: runtime(doc): clarify W11 warning and possible options (#36426)
fixes: vim/vim#18589
213109a999
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -610,6 +610,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:
|
||||
|
||||
Reference in New Issue
Block a user