Skip to content

Update autocmd.{txt,jax} #1771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion doc/autocmd.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Aug 18
*autocmd.txt* For Vim バージョン 9.1. Last change: 2024 Oct 27


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1240,6 +1240,14 @@ TerminalWinOpen `:terminal` もしくは |term_start()| により端末
TermResponse |t_RV| に対する応答をターミナルから受け取った
とき。Vim変数 |v:termresponse| の値を使って、
ターミナルのバージョンに応じた処理ができる。
これは |defaults.vim| で putty 端末を検出し、
暗い背景を設定するために使用される: >

au TermResponse *
\ if v:termresponse == "\e[>0;136;0c"
\ set bg=dark
\ endif
<
Note: このイベントは他のイベントの処理中にも発
行されることがある。特に、ファイル入出力、シェ
ルコマンドの実行、時間の掛かる処理など。
Expand Down
19 changes: 14 additions & 5 deletions en/autocmd.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 9.1. Last change: 2024 Aug 18
*autocmd.txt* For Vim version 9.1. Last change: 2024 Oct 27
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これが反映されてません



VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1254,10 +1254,19 @@ TerminalWinOpen Just after a terminal buffer was created, with
TermResponse After the response to |t_RV| is received from
the terminal. The value of |v:termresponse|
can be used to do things depending on the
terminal version. Note that this event may be
triggered halfway executing another event,
especially if file I/O, a shell command or
anything else that takes time is involved.
terminal version.
This is used in |defaults.vim| to detect
putty terminal and set a dark background: >

au TermResponse *
\ if v:termresponse == "\e[>0;136;0c"
\ set bg=dark
\ endif
<
Note: that this event may be triggered halfway
executing another event, especially if file
I/O, a shell command or anything else that
takes time is involved.
*TermResponseAll*
TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
|t_RB|, |t_RF|, or |t_u7| are received from
Expand Down