Skip to content

Commit f86809b

Browse files
authored
Merge pull request #2098 from h-east/update-eval
Update eval.{txt,jax}
2 parents 1210c98 + be407d1 commit f86809b

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

doc/eval.jax

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Apr 02
1+
*eval.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04
22

33

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

5002+
*package-open*
5003+
|:Open| および |:Launch| コマンドは、同梱のプラグイン
5004+
$VIMRUNTIME/plugin/openPlugin.vim によって提供される。
5005+
50025006
*dist#vim9#Open()* *:Open* *:URLOpen*
50035007
*g:Openprg* *gx*
50045008
dist#vim9#Open(file: string) ~
@@ -5009,6 +5013,9 @@ Linux の `xdg-open` 等) を使用して `path` を開く。変数 |g:Openprg|
50095013

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

5016+
|:URLOpen| ユーザーコマンドは同じように動作するが、ファイル補完は実行されない
5017+
ため、特殊文字 |cmdline-special| は展開されない。
5018+
50125019
この関数は、デフォルトでは gx マッピングを使用して呼び出される。ビジュアルモー
50135020
ドでは、視覚的に選択されたテキストを開こうとする。
50145021

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

en/eval.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.1. Last change: 2025 Apr 02
1+
*eval.txt* For Vim version 9.1. Last change: 2025 Jun 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5149,6 +5149,10 @@ executable. It takes the following arguments:
51495149
filetype string
51505150
executable string
51515151

5152+
*package-open*
5153+
The |:Open| and |:Launch| command are provided by the included plugin
5154+
$VIMRUNTIME/plugin/openPlugin.vim
5155+
51525156
*dist#vim9#Open()* *:Open* *:URLOpen*
51535157
*g:Openprg* *gx*
51545158
dist#vim9#Open(file: string) ~
@@ -5159,6 +5163,9 @@ string specified in the variable is used instead.
51595163

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

5166+
The |:URLOpen| user command works the same but does not perform file
5167+
completion and therefore does not expand special characters |cmdline-special|.
5168+
51625169
This function is by default called using the gx mapping. In visual mode
51635170
tries to open the visually selected text.
51645171

@@ -5176,11 +5183,8 @@ NOTE: Escaping of the path is automatically applied.
51765183
Usage: >vim
51775184
:call dist#vim9#Open(<path>)
51785185
:Open <path>
5186+
:URLOpen <path>
51795187
<
5180-
*package-open*
5181-
The |:Open| and |:Launch| command are provided by the included plugin
5182-
$VIMRUNTIME/plugin/openPlugin.vim
5183-
51845188
*dist#vim9#Launch()* *:Launch*
51855189
dist#vim9#Launch(file: string) ~
51865190

0 commit comments

Comments
 (0)