Skip to content

Commit 6ec139a

Browse files
authored
Merge pull request #1427 from mityu/update-eval
Update eval.{txt,jax}
2 parents 241c797 + 56a28ed commit 6ec139a

File tree

2 files changed

+38
-15
lines changed

2 files changed

+38
-15
lines changed

doc/eval.jax

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 9.1. Last change: 2023 Dec 09
1+
*eval.txt* For Vim バージョン 9.1. Last change: 2024 Jan 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2497,8 +2497,9 @@ v:termresponse termcapのエントリ|t_RV|で端末から返されるエスケ
24972497
ESC [ または CSI で始まり、次に '>' または '?' が来て、途中数
24982498
字と ';' だけから構成され 'c' で終わるエスケープシーケンスを受
24992499
け取ったとき代入される。このオプションがセットされると自動コマ
2500-
ンドイベントTermResponseが発生し、端末からの応答に反応すること
2501-
ができる。
2500+
ンドイベント TermResponse が発生し、端末からの応答に反応するこ
2501+
とができる。また、同様に自動コマンドイベント TermResponseAll
2502+
<amatch> に "version" がセットされた状態で発生する。
25022503
|terminalprops()| を使うことで Vim が端末をどのように認識した
25032504
かを知ることができる。
25042505
新しいxtermからの応答は次の形式である:
@@ -2512,25 +2513,36 @@ v:termresponse termcapのエントリ|t_RV|で端末から返されるエスケ
25122513
*v:termblinkresp*
25132514
v:termblinkresp termcapのエントリ |t_RC| で端末から返されるエスケープシーケン
25142515
ス。端末カーソルが点滅しているかを調べるために使用される。
2515-
|term_getcursor()| で使用される。
2516+
|term_getcursor()| で使用される。このオプションがセットされて
2517+
いるとき、<amatch> に "cursorblink" がセットされた状態で自動コ
2518+
マンドイベント TermResponseAll が発生する。
25162519

25172520
*v:termstyleresp*
25182521
v:termstyleresp termcapのエントリ |t_RS| で端末から返されるエスケープシーケン
25192522
ス。カーソルの形状を調べるために使用される。|term_getcursor()|
2520-
で使用される。
2523+
で使用される。このオプションがセットされているとき、<amatch>
2524+
に "cursorshape" がセットされた状態で自動コマンドイベント
2525+
TermResponseAll が発生する。
25212526

25222527
*v:termrbgresp*
25232528
v:termrbgresp termcapのエントリ |t_RS| で端末から返されるエスケープシーケン
25242529
ス。端末の背景色を調べるために使用される。'background' を参照。
2530+
このオプションがセットされているとき、<amatch> に "background"
2531+
がセットされた状態で自動コマンドイベント TermResponseAll が発
2532+
生する。
25252533

25262534
*v:termrfgresp*
25272535
v:termrfgresp termcapのエントリ |t_RF| で端末から返されるエスケープシーケン
2528-
ス。端末の文字色を調べるために使用される。
2536+
ス。端末の文字色を調べるために使用される。このオプションがセッ
2537+
トされているとき、<amatch> に "foreground" がセットされた状態
2538+
で自動コマンドイベント TermResponseAll が発生する。
25292539

25302540
*v:termu7resp*
25312541
v:termu7resp termcapのエントリ |t_u7| で端末から返されるエスケープシーケン
25322542
ス。曖昧な幅の文字に対して端末が何をするか調べるのに使われる。
2533-
'ambiwidth' を参照。
2543+
'ambiwidth' を参照。このオプションがセットされているとき、
2544+
<amatch> に "ambiguouswidth" がセットされた状態で自動コマンド
2545+
イベント TermResponseAll が発生する。
25342546

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

en/eval.txt

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.1. Last change: 2023 Dec 09
1+
*eval.txt* For Vim version 9.1. Last change: 2024 Jan 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2568,8 +2568,9 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
25682568
'c', with only digits and ';' in between.
25692569
When this option is set, the TermResponse autocommand event is
25702570
fired, so that you can react to the response from the
2571-
terminal. You can use |terminalprops()| to see what Vim
2572-
figured out about the terminal.
2571+
terminal. The TermResponseAll event is also fired, with
2572+
<amatch> set to "version". You can use |terminalprops()| to see
2573+
what Vim figured out about the terminal.
25732574
The response from a new xterm is: "<Esc>[> Pp ; Pv ; Pc c". Pp
25742575
is the terminal type: 0 for vt100 and 1 for vt220. Pv is the
25752576
patch level (since this was introduced in patch 95, it's
@@ -2581,27 +2582,37 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV|
25812582
*v:termblinkresp*
25822583
v:termblinkresp The escape sequence returned by the terminal for the |t_RC|
25832584
termcap entry. This is used to find out whether the terminal
2584-
cursor is blinking. This is used by |term_getcursor()|.
2585+
cursor is blinking. This is used by |term_getcursor()|. When
2586+
this option is set, the TermResponseAll autocommand event is
2587+
fired, with <amatch> set to "cursorblink".
25852588

25862589
*v:termstyleresp*
25872590
v:termstyleresp The escape sequence returned by the terminal for the |t_RS|
25882591
termcap entry. This is used to find out what the shape of the
2589-
cursor is. This is used by |term_getcursor()|.
2592+
cursor is. This is used by |term_getcursor()|. When this
2593+
option is set, the TermResponseAll autocommand event is fired,
2594+
with <amatch> set to "cursorshape".
25902595

25912596
*v:termrbgresp*
25922597
v:termrbgresp The escape sequence returned by the terminal for the |t_RB|
25932598
termcap entry. This is used to find out what the terminal
2594-
background color is, see 'background'.
2599+
background color is; see 'background'. When this option is
2600+
set, the TermResponseAll autocommand event is fired, with
2601+
<amatch> set to "background".
25952602

25962603
*v:termrfgresp*
25972604
v:termrfgresp The escape sequence returned by the terminal for the |t_RF|
25982605
termcap entry. This is used to find out what the terminal
2599-
foreground color is.
2606+
foreground color is. When this option is set, the
2607+
TermResponseAll autocommand event is fired, with <amatch> set
2608+
to "foreground".
26002609

26012610
*v:termu7resp*
26022611
v:termu7resp The escape sequence returned by the terminal for the |t_u7|
26032612
termcap entry. This is used to find out what the terminal
2604-
does with ambiguous width characters, see 'ambiwidth'.
2613+
does with ambiguous width characters, see 'ambiwidth'. When
2614+
this option is set, the TermResponseAll autocommand event is
2615+
fired, with <amatch> set to "ambiguouswidth".
26052616

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

0 commit comments

Comments
 (0)