Skip to content

Commit 1527b13

Browse files
authored
Merge pull request #753 from Inazuma110/update_autocmd
Update autocmd.{txt,jax}
2 parents 6312a89 + b3709b4 commit 1527b13

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/autocmd.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 8.1. Last change: 2019 Sep 16
1+
*autocmd.txt* For Vim バージョン 8.2. Last change: 2019 Dec 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -391,6 +391,7 @@ BufAdd or BufCreate バッファリストに追加されるバッファを作
391391
か、バッファをバッファリストに追加した直後。
392392
バッファリスト内のバッファがリネームされた直後
393393
にも発生する。
394+
起動中に作成された初期バッファでは発生しない。
394395
イベント BufCreate は歴史上の理由で存在してい
395396
る。
396397
NOTE: このイベントで自動コマンドが実行された
@@ -1273,8 +1274,8 @@ Note: パスの途中だけにマッチさせ、ルートディレクトリに
12731274
[^ch] は 'c' と 'h' 以外の文字にマッチ
12741275

12751276
'/' という文字は、全てのシステムでパスの区切り文字に使われることに注意すること
1276-
(MS-DOSとOS/2でさえも)。これは、パターン内でバックスラッシュを使うことが難しい
1277-
上に、別々のシステムでも自動コマンドが動作するようにするためである。
1277+
(MS-Windowsでさえも)。これは、パターン内でバックスラッシュを使うことが難しい上
1278+
、別々のシステムでも自動コマンドが動作するようにするためである。
12781279

12791280
|pattern| を使うことができる。上記の翻訳が行われているため、期待通りに機能しな
12801281
い可能性がある。

en/autocmd.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.1. Last change: 2019 Sep 16
1+
*autocmd.txt* For Vim version 8.2. Last change: 2019 Dec 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -387,6 +387,8 @@ BufAdd or BufCreate Just after creating a new buffer which is
387387
to the buffer list.
388388
Also used just after a buffer in the buffer
389389
list has been renamed.
390+
Not triggered for the initial buffers created
391+
during startup.
390392
The BufCreate event is for historic reasons.
391393
NOTE: When this autocommand is executed, the
392394
current buffer "%" may be different from the
@@ -1287,8 +1289,8 @@ The pattern is interpreted like mostly used in file names:
12871289
[^ch] match any character but 'c' and 'h'
12881290

12891291
Note that for all systems the '/' character is used for path separator (even
1290-
MS-DOS and OS/2). This was done because the backslash is difficult to use
1291-
in a pattern and to make the autocommands portable across different systems.
1292+
for MS-Windows). This was done because the backslash is difficult to use in a
1293+
pattern and to make the autocommands portable across different systems.
12921294

12931295
It is possible to use |pattern| items, but they may not work as expected,
12941296
because of the translation done for the above.

0 commit comments

Comments
 (0)