diff --git a/doc/eval.jax b/doc/eval.jax index af3bf719d..562e69e44 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -1,4 +1,4 @@ -*eval.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04 +*eval.txt* For Vim バージョン 9.1. Last change: 2025 Jun 28 VIMリファレンスマニュアル by Bram Moolenaar @@ -2178,6 +2178,15 @@ v:charconvert_to 変換後のファイルの文字エンコーディング名。オプション 'charconvert' を評価している最中のみ有効。 + *v:clipmethod* +v:clipmethod 現在使用されているクリップボードへのアクセス方法。以下のいずれ + かの値になる: + wayland Wayland プロトコルが使用されている。 + x11 X11 セレクションが使用されている。 + none 上記の方法は利用できないか、使用できな + い。 + 詳細は 'clipmethod' を参照。 + *v:cmdarg* *cmdarg-variable* v:cmdarg 2つの目的のために使われる: 1. ファイルの読み書きコマンドに与えられる余分な引数。現在のと @@ -2893,6 +2902,12 @@ v:vim_did_enter ほとんどのスタートアップが完了するまでの間 v:warningmsg 最後に表示された警告メッセージ。この変数は代入することが許され ている。 + *v:wayland_display* +v:wayland_display + Vim が接続されている Wayland ディスプレイの名前。環境変数 + $WAYLAND_DISPLAY に相当する。 + これが空の場合、Vim はどのディスプレイにも接続されていない。 + *v:windowid* *windowid-variable* v:windowid X11/Wayland ベースの GUI を使っているとき、もしくは端末の Vim を使っていて X サーバーに接続しているとき (|-X|) は、ウィンド diff --git a/en/eval.txt b/en/eval.txt index 492a4444a..6a576d31c 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.1. Last change: 2025 Jun 04 +*eval.txt* For Vim version 9.1. Last change: 2025 Jun 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2240,6 +2240,15 @@ v:charconvert_to The name of the character encoding of a file after conversion. Only valid while evaluating the 'charconvert' option. + *v:clipmethod* +v:clipmethod The current method of accessing the clipboard that is being + used. Can either have the value of: + wayland The Wayland protocol is being used. + x11 X11 selections are being used. + none The above methods are unavailable or + cannot be used. + See 'clipmethod' for more details. + *v:cmdarg* *cmdarg-variable* v:cmdarg This variable is used for two purposes: 1. The extra arguments given to a file read/write command. @@ -2969,6 +2978,12 @@ v:vim_did_enter Zero until most of startup is done. It is set to one just *v:warningmsg* *warningmsg-variable* v:warningmsg Last given warning message. It's allowed to set this variable. + *v:wayland_display* +v:wayland_display + The name of the Wayland display that Vim is connected to. + Equivalent to the $WAYLAND_DISPLAY environment variable. + If this is empty, then Vim is not connected to any display. + *v:windowid* *windowid-variable* v:windowid When any X11/Wayland based GUI is running or when running in a terminal and Vim connects to the X server (|-X|) this will be