Skip to content

Commit 2dcc1af

Browse files
authored
Merge pull request #2315 from h-east/update-autocmd
Update autocmd.{txt,jax}
2 parents e6fed38 + 5c1d77a commit 2dcc1af

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

doc/autocmd.jax

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Sep 11
1+
*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Sep 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1297,23 +1297,17 @@ TermResponseAll ターミナルから |t_RV|、|t_RC|、|t_RS|、|t_u7|
12971297
|v:termosc| の値がそれぞれ使用できる。<amatch>
12981298
は以下のいずれかに設定される:
12991299
"ambiguouswidth" (|t_u7|),
1300+
"background" (|t_RB|),
13001301
"cursorblink" (|t_RC|),
13011302
"cursorshape" (|t_RS|),
1303+
"foreground" (|t_RF|),
13021304
"da1",
13031305
"osc",
13041306
"version" (|t_RV|)
13051307
Note このイベントは、特にファイル I/O、シェル
13061308
コマンド、またはその他の時間の掛かるものが関係
13071309
する場合、別のイベントの実行途中でトリガーされ
13081310
る可能性があることに注意。
1309-
Note: 従来、TermResponseAll は "foreground" お
1310-
よび "background" パターンにも使用されていた。
1311-
これらは現在、"osc" 値の一部として処理される。
1312-
後方互換性のため、
1313-
$VIMRUNTIME/plugin/colorresp.vim プラグインは
1314-
"foreground" および "background" 値に遭遇する
1315-
と、"osc" イベントを処理し、TermResponseAll 自
1316-
動コマンドイベントを発行する。
13171311
*TextChanged*
13181312
TextChanged ノーマルモードでカレントバッファのテキストが変
13191313
更されたとき。つまり |b:changedtick| が更新さ

en/autocmd.txt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2025 Sep 11
1+
*autocmd.txt* For Vim version 9.1. Last change: 2025 Sep 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1313,24 +1313,17 @@ TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
13131313
correspondingly, can be used. <amatch> will
13141314
be set to any of:
13151315
"ambiguouswidth" (|t_u7|),
1316+
"background" (|t_RB|),
13161317
"cursorblink" (|t_RC|),
13171318
"cursorshape" (|t_RS|),
1319+
"foreground" (|t_RF|),
13181320
"da1",
13191321
"osc",
13201322
"version" (|t_RV|)
13211323
Note that this event may be triggered halfway
13221324
executing another event, especially if file I/O,
13231325
a shell command or anything else that takes time
13241326
is involved.
1325-
Note: Traditionally, TermResponseAll was also
1326-
used for "foreground" and "background"
1327-
patterns. These are now handled as part of
1328-
the "osc" value. For backwards compatibility,
1329-
the $VIMRUNTIME/plugin/colorresp.vim plugin
1330-
will handle "osc" events and emit
1331-
TermResponseAll autocommand events when it
1332-
encounters "foreground" and "background"
1333-
values.
13341327
*TextChanged*
13351328
TextChanged After a change was made to the text in the
13361329
current buffer in Normal mode. That is after

0 commit comments

Comments
 (0)