From 5c1d77a90837cc2d57569e411cbcd754ef9ed8f4 Mon Sep 17 00:00:00 2001 From: h-east Date: Wed, 17 Sep 2025 23:44:36 +0900 Subject: [PATCH] Update autocmd.{txt,jax} --- doc/autocmd.jax | 12 +++--------- en/autocmd.txt | 13 +++---------- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/doc/autocmd.jax b/doc/autocmd.jax index 15fe4d470..14e96be28 100644 --- a/doc/autocmd.jax +++ b/doc/autocmd.jax @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Sep 11 +*autocmd.txt* For Vim バージョン 9.1. Last change: 2025 Sep 14 VIMリファレンスマニュアル by Bram Moolenaar @@ -1297,8 +1297,10 @@ TermResponseAll ターミナルから |t_RV|、|t_RC|、|t_RS|、|t_u7| |v:termosc| の値がそれぞれ使用できる。 は以下のいずれかに設定される: "ambiguouswidth" (|t_u7|), + "background" (|t_RB|), "cursorblink" (|t_RC|), "cursorshape" (|t_RS|), + "foreground" (|t_RF|), "da1", "osc", "version" (|t_RV|) @@ -1306,14 +1308,6 @@ TermResponseAll ターミナルから |t_RV|、|t_RC|、|t_RS|、|t_u7| コマンド、またはその他の時間の掛かるものが関係 する場合、別のイベントの実行途中でトリガーされ る可能性があることに注意。 - Note: 従来、TermResponseAll は "foreground" お - よび "background" パターンにも使用されていた。 - これらは現在、"osc" 値の一部として処理される。 - 後方互換性のため、 - $VIMRUNTIME/plugin/colorresp.vim プラグインは - "foreground" および "background" 値に遭遇する - と、"osc" イベントを処理し、TermResponseAll 自 - 動コマンドイベントを発行する。 *TextChanged* TextChanged ノーマルモードでカレントバッファのテキストが変 更されたとき。つまり |b:changedtick| が更新さ diff --git a/en/autocmd.txt b/en/autocmd.txt index 490ad4456..24dbca49c 100644 --- a/en/autocmd.txt +++ b/en/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 9.1. Last change: 2025 Sep 11 +*autocmd.txt* For Vim version 9.1. Last change: 2025 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1313,8 +1313,10 @@ TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|, correspondingly, can be used. will be set to any of: "ambiguouswidth" (|t_u7|), + "background" (|t_RB|), "cursorblink" (|t_RC|), "cursorshape" (|t_RS|), + "foreground" (|t_RF|), "da1", "osc", "version" (|t_RV|) @@ -1322,15 +1324,6 @@ TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|, executing another event, especially if file I/O, a shell command or anything else that takes time is involved. - Note: Traditionally, TermResponseAll was also - used for "foreground" and "background" - patterns. These are now handled as part of - the "osc" value. For backwards compatibility, - the $VIMRUNTIME/plugin/colorresp.vim plugin - will handle "osc" events and emit - TermResponseAll autocommand events when it - encounters "foreground" and "background" - values. *TextChanged* TextChanged After a change was made to the text in the current buffer in Normal mode. That is after