File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 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,22 @@ http://groups.yahoo.com/group/solarisonintel/message/12179.
636636と。'buftype' が空でない場合は、このメッセージは表示されない。
637637| FileChangedShell | 自動コマンドも参照。
638638
639+ 次のオプションを含むダイアログが表示される:
640+
641+ "OK": 警告を無視して編集を続行する。変更は読み込まれず、バッファはそ
642+ のまま残る。
643+
644+ "Load File": ディスクからファイルを再読み込みし、現在のバッファの内容を置き
645+ 換える。Vim で行った変更のうち保存されていないものはすべて失わ
646+ れる。
647+
648+ "Load File and Options":
649+ ディスクからファイルを再読み込みし、インデント、構文ハイライ
650+ ト、テキスト幅、その他のファイルタイプ固有のオプションなど、関
651+ 連するファイル設定を適用する。これにより、現在の設定と自動コマ
652+ ンドに基づいて、バッファがファイルの意図した構成と一致するよう
653+ になる。
654+
639655何も間違ったことをしていないのに、このメッセージを受け取る可能性が1つ考えられ
640656る: 夏時間が始まる日にWindowsでファイルを保存した場合である。この場合、次の方
641657法のうちどれかで修正できる: >
Original file line number Diff line number Diff line change 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.
644644This message is not given when 'buftype' is not empty.
645645Also 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+
647663There is one situation where you get this message even though there is nothing
648664wrong: If you save a file in Windows on the day the daylight saving time
649665starts. It can be fixed in one of these ways:
You can’t perform that action at this time.
0 commit comments