Skip to content

Commit 97b3c7a

Browse files
authored
Merge pull request #2408 from h-east/update-message
Update message.{txt,jax}
2 parents 3f091cd + b696157 commit 97b3c7a

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

doc/message.jax

Lines changed: 17 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,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
法のうちどれかで修正できる: >

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)