Skip to content

Commit c11bed3

Browse files
authored
Merge pull request #2314 from h-east/update-eval
Update eval.{txt,jax}
2 parents 180c629 + 2ad3245 commit c11bed3

File tree

2 files changed

+32
-41
lines changed

2 files changed

+32
-41
lines changed

doc/eval.jax

Lines changed: 24 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Aug 29
1+
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Sep 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2747,8 +2747,8 @@ v:swapchoice イベント|SwapExists|により実行された自動コマンド
27472747
v:swapcommand ファイルを開いた後に実行するノーマルモードコマンド。自動コマン
27482748
|SwapExists|で、他のVimインスタンスにファイルを開かせ、指定
27492749
位置までジャンプするために使うことができる。例えば、あるタグへ
2750-
ジャンプするには、この変数に":tag tagname\r" という値を代入す
2751-
る。":edit +cmd file" を実行させるには":cmd\r" を代入する。
2750+
ジャンプするには、この変数に ":tag tagname\r" という値を代入す
2751+
る。":edit +cmd file" を実行させるには ":cmd\r" を代入する。
27522752

27532753
*v:t_TYPE* *v:t_bool* *t_bool-variable*
27542754
v:t_bool 真偽値 |Boolean| 型の値。読出し専用。 参照: |type()|
@@ -2789,10 +2789,10 @@ v:t_tuple |Tuple| 型の値。読出し専用。 参照: |type()|
27892789
v:termresponse termcapのエントリ|t_RV|で端末から返されるエスケープシーケンス。
27902790
ESC [ または CSI で始まり、次に '>' または '?' が来て、途中数
27912791
字と ';' だけから構成され 'c' で終わるエスケープシーケンスを受
2792-
け取ったとき代入される。この変数がセットされると自動コマンドイ
2793-
ベント TermResponse が発生し、端末からの応答に反応することがで
2794-
きる。また、同様に自動コマンドイベント TermResponseAll が
2795-
<amatch> に "version" がセットされた状態で発生する
2792+
け取ったとき代入される。この変数がセットされると TermResponse
2793+
自動コマンドイベントが発生し、端末からの応答に反応することがで
2794+
きる。また、同様に <amatch> に "version" がセットされた状態で
2795+
TermResponseAll 自動コマンドイベントが発生する
27962796
|terminalprops()| を使うことで Vim が端末をどのように認識した
27972797
かを知ることができる。
27982798
新しい xterm からの応答は次の形式である:
@@ -2807,54 +2807,46 @@ v:termresponse termcapのエントリ|t_RV|で端末から返されるエスケ
28072807
v:termblinkresp termcapのエントリ |t_RC| で端末から返されるエスケープシーケン
28082808
ス。端末カーソルが点滅しているかを調べるために使用される。
28092809
|term_getcursor()| で使用される。この変数がセットされていると
2810-
き、<amatch> に "cursorblink" がセットされた状態で自動コマンド
2811-
イベント TermResponseAll が発生する
2810+
き、<amatch> に "cursorblink" がセットされた状態で
2811+
TermResponseAll 自動コマンドイベントが発生する
28122812

28132813
*v:termstyleresp* *termstyleresp-variable*
28142814
v:termstyleresp termcapのエントリ |t_RS| で端末から返されるエスケープシーケン
28152815
ス。カーソルの形状を調べるために使用される。|term_getcursor()|
28162816
で使用される。この変数がセットされているとき、<amatch>
2817-
"cursorshape" がセットされた状態で自動コマンドイベント
2818-
TermResponseAll が発生する
2817+
"cursorshape" がセットされた状態で TermResponseAll 自動コマン
2818+
ドイベントが発生する
28192819

28202820
*v:termrbgresp* *termrbgresp-variable*
28212821
v:termrbgresp termcapのエントリ |t_RB| で端末から返されるエスケープシーケン
28222822
ス。端末の背景色を調べるために使用される。'background' を参照。
2823-
このオプションがセットされているとき、<amatch> に "background"
2824-
がセットされた状態で自動コマンドイベント TermResponseAll が発
2825-
生する。
2826-
これは通常、Vim に同梱されている
2827-
$VIMRUNTIME/plugin/colorresp.vim プラグインによって設定される
2828-
が、何をしているのか分かっている場合は手動で設定することもでき
2829-
る。
2830-
Note これを変更しても何も起こらないことに注意。
2823+
この変数がセットされているとき、<amatch> に "background" がセッ
2824+
トされた状態で TermResponseAll 自動コマンドイベントが発生する。
28312825

28322826
*v:termrfgresp* *termrfgresp-variable*
28332827
v:termrfgresp termcapのエントリ |t_RF| で端末から返されるエスケープシーケン
2834-
ス。端末の文字色を調べるために使用される。|v:termrbgresp| と同
2835-
じように動作する
2828+
ス。端末の文字色を調べるために使用される。この変数がセットされ
2829+
ているとき、<amatch> に "foreground" がセットされた状態で
2830+
TermResponseAll 自動コマンドイベントが発生する。
28362831

28372832
*v:termu7resp* *termu7resp-variable*
28382833
v:termu7resp termcapのエントリ |t_u7| で端末から返されるエスケープシーケン
28392834
ス。曖昧な幅の文字に対して端末が何をするか調べるのに使われる。
28402835
'ambiwidth' を参照。この変数がセットされているとき、<amatch>
2841-
に "ambiguouswidth" がセットされた状態で自動コマンドイベント
2842-
TermResponseAll が発生する
2836+
に "ambiguouswidth" がセットされた状態で TermResponseAll 自動
2837+
コマンドイベントが発生する
28432838

28442839
*v:termda1* *termda1-variable*
28452840
v:termda1 端末からのプライマリデバイス属性 (DA1) クエリによって返される
2846-
エスケープシーケンス。この変数が設定されている場合<amatch>
2847-
に "da1" が設定セットされた状態で TermResponseAll 自動コマンド
2848-
イベントが発生する。端末の OSC 52 サポートを検出するために使用
2849-
できる
2841+
エスケープシーケンス。この変数がセットされているとき<amatch>
2842+
に "da1" がセットされた状態で TermResponseAll 自動コマンドイベ
2843+
ントが発生する。端末の OSC 52 サポートを検出するために使用でき
2844+
28502845

28512846
*v:termosc* *termosc-variable*
28522847
v:termosc ターミナルから受信した最新の OSC 応答のエスケープシーケンス。
2853-
この変数が設定されている場合、|TermResponseAll| 自動コマンドイ
2854-
ベントが発行され、<amatch> が "osc" に設定される。また、
2855-
$VIMRUNTIME/plugin/colorresp.vim プラグイン経由で
2856-
|v:termrbgresp| および |v:termrfgresp| を設定する際にも使用さ
2857-
れる
2848+
この変数がセットされているとき、<amatch> に "osc" にセットされ
2849+
た状態で |TermResponseAll| 自動コマンドイベントが発行する。
28582850

28592851
*v:testing* *testing-variable*
28602852
v:testing `test_garbagecollect_now()` を使う前に設定する必要がある。

en/eval.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.1. Last change: 2025 Aug 29
1+
*eval.txt* For Vim version 9.1. Last change: 2025 Sep 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2896,15 +2896,16 @@ v:termstyleresp The escape sequence returned by the terminal for the |t_RS|
28962896
*v:termrbgresp* *termrbgresp-variable*
28972897
v:termrbgresp The escape sequence returned by the terminal for the |t_RB|
28982898
termcap entry. This is used to find out what the terminal
2899-
background color is; see 'background'. This is set by the
2900-
$VIMRUNTIME/plugin/colorresp.vim plugin normally included with
2901-
Vim, but can be set manually if you know what you are doing.
2902-
Note that changing this will not do anything.
2899+
background color is; see 'background'. When this variable is
2900+
set, the TermResponseAll autocommand event is fired, with
2901+
<amatch> set to "background".
29032902

29042903
*v:termrfgresp* *termrfgresp-variable*
29052904
v:termrfgresp The escape sequence returned by the terminal for the |t_RF|
29062905
termcap entry. This is used to find out what the terminal
2907-
foreground color is. Behaves the same as |v:termrbgresp|
2906+
foreground color is. When this variable is set, the
2907+
TermResponseAll autocommand event is fired, with <amatch> set
2908+
to "foreground".
29082909

29092910
*v:termu7resp* *termu7resp-variable*
29102911
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
@@ -2923,9 +2924,7 @@ v:termda1 The escape sequence returned by a primary device attributes
29232924
v:termosc The escape sequence of the most recent OSC response received
29242925
from the terminal. When this variable is set, the
29252926
|TermResponseAll| autocommand event is fired, with <amatch>
2926-
set to "osc". Also used to set the |v:termrbgresp| and
2927-
|v:termrfgresp| via the $VIMRUNTIME/plugin/colorresp.vim
2928-
plugin
2927+
set to "osc".
29292928

29302929
*v:testing* *testing-variable*
29312930
v:testing Must be set before using `test_garbagecollect_now()`.

0 commit comments

Comments
 (0)