Skip to content

Commit 28b13d8

Browse files
committed
Update message.{txt,jax}
1 parent f239112 commit 28b13d8

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

doc/message.jax

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim バージョン 9.1. Last change: 2025 Oct 12
1+
*message.txt* For Vim バージョン 9.1. Last change: 2025 Nov 01
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -636,6 +636,23 @@ http://groups.yahoo.com/group/solarisonintel/message/12179.
636636
と。'buftype' が空でない場合は、このメッセージは表示されない。
637637
|FileChangedShell| 自動コマンドも参照。
638638

639+
You will be given a dialog with the following options:
640+
次のオプションを含むダイアログが表示される:
641+
642+
"OK": 警告を無視して編集を続行する。変更は読み込まれず、バッファはそ
643+
のまま残る。
644+
645+
"Load File": ディスクからファイルを再読み込みし、現在のバッファの内容を置き
646+
換える。Vim で行った変更のうち保存されていないものはすべて失わ
647+
れる。
648+
649+
"Load File and Options":
650+
ディスクからファイルを再読み込みし、インデント、構文ハイライ
651+
ト、テキスト幅、その他のファイルタイプ固有のオプションなど、関
652+
連するファイル設定を適用する。これにより、現在の設定と自動コマ
653+
ンドに基づいて、バッファがファイルの意図した構成と一致するよう
654+
になる。
655+
639656
何も間違ったことをしていないのに、このメッセージを受け取る可能性が1つ考えられ
640657
る: 夏時間が始まる日にWindowsでファイルを保存した場合である。この場合、次の方
641658
法のうちどれかで修正できる: >

en/message.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*message.txt* For Vim version 9.1. Last change: 2025 Nov 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -644,6 +644,22 @@ Set the 'autoread' option if you want to do this automatically.
644644
This message is not given when 'buftype' is not empty.
645645
Also see the |FileChangedShell| autocommand.
646646

647+
You will be given a dialog with the following options:
648+
649+
"OK": Dismiss the warning and continue editing. No changes are
650+
loaded, the buffer remains as it is.
651+
652+
"Load File": Reload the file from disk, replacing the current buffer
653+
contents. Any changes you made in Vim that haven't been saved
654+
will be lost.
655+
656+
"Load File and Options":
657+
Reload the file from disk and, in addition, apply relevant
658+
file settings, such as indentation, syntax highlighting, text
659+
width, and other filetype-specific options. This ensures the
660+
buffer matches the file's intended configuration according to
661+
your current settings and autocommands.
662+
647663
There is one situation where you get this message even though there is nothing
648664
wrong: If you save a file in Windows on the day the daylight saving time
649665
starts. It can be fixed in one of these ways:

0 commit comments

Comments
 (0)