Skip to content

Update eval.{txt,jax} #2098

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 1 commit into from
Jun 9, 2025
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
14 changes: 9 additions & 5 deletions doc/eval.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Apr 02
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -4999,6 +4999,10 @@ dist#vim9#IsSafeExecutable(filetype:string, executable:string): bool ~
filetype string
executable string

*package-open*
|:Open| および |:Launch| コマンドは、同梱のプラグイン
$VIMRUNTIME/plugin/openPlugin.vim によって提供される。

*dist#vim9#Open()* *:Open* *:URLOpen*
*g:Openprg* *gx*
dist#vim9#Open(file: string) ~
Expand All @@ -5009,6 +5013,9 @@ Linux の `xdg-open` 等) を使用して `path` を開く。変数 |g:Openprg|

|:Open| ユーザーコマンドは引数としてファイル補完を使用する。

|:URLOpen| ユーザーコマンドは同じように動作するが、ファイル補完は実行されない
ため、特殊文字 |cmdline-special| は展開されない。

この関数は、デフォルトでは gx マッピングを使用して呼び出される。ビジュアルモー
ドでは、視覚的に選択されたテキストを開こうとする。

Expand All @@ -5026,11 +5033,8 @@ NOTE: パスのエスケープは自動的に適用される。
使用法: >vim
:call dist#vim9#Open(<path>)
:Open <path>
:URLOpen <path>
<
*package-open*
|:Open| および |:Launch| コマンドは、同梱のプラグイン
$VIMRUNTIME/plugin/openPlugin.vim によって提供される。

*dist#vim9#Launch()* *:Launch*
dist#vim9#Launch(file: string) ~

Expand Down
14 changes: 9 additions & 5 deletions en/eval.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 9.1. Last change: 2025 Apr 02
*eval.txt* For Vim version 9.1. Last change: 2025 Jun 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -5149,6 +5149,10 @@ executable. It takes the following arguments:
filetype string
executable string

*package-open*
The |:Open| and |:Launch| command are provided by the included plugin
$VIMRUNTIME/plugin/openPlugin.vim

*dist#vim9#Open()* *:Open* *:URLOpen*
*g:Openprg* *gx*
dist#vim9#Open(file: string) ~
Expand All @@ -5159,6 +5163,9 @@ string specified in the variable is used instead.

The |:Open| user command uses file completion for its argument.

The |:URLOpen| user command works the same but does not perform file
completion and therefore does not expand special characters |cmdline-special|.

This function is by default called using the gx mapping. In visual mode
tries to open the visually selected text.

Expand All @@ -5176,11 +5183,8 @@ NOTE: Escaping of the path is automatically applied.
Usage: >vim
:call dist#vim9#Open(<path>)
:Open <path>
:URLOpen <path>
<
*package-open*
The |:Open| and |:Launch| command are provided by the included plugin
$VIMRUNTIME/plugin/openPlugin.vim

*dist#vim9#Launch()* *:Launch*
dist#vim9#Launch(file: string) ~

Expand Down