Skip to content

Commit 07ec7b7

Browse files
committed
Update builtin.{txt,jax}
1 parent f78254e commit 07ec7b7

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

doc/builtin.jax

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jun 28
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -267,6 +267,8 @@ getcmdtype() 文字列 現在のコマンドラインの種類を取得
267267
getcmdwintype() 文字列 現在のコマンドラインウィンドウの種類
268268
getcompletion({pat}, {type} [, {filtered}])
269269
リスト コマンドライン補完にマッチするリスト
270+
getcompletiontype({pat}) 文字列 {pat} を使用したコマンドライン補完のタ
271+
イプを返す
270272
getcurpos([{winnr}]) リスト カーソルの位置
271273
getcursorcharpos([{winnr}]) リスト カーソルの位置の文字
272274
getcwd([{winnr} [, {tabnr}]]) 文字列 現在の作業ディレクトリを取得
@@ -4200,6 +4202,9 @@ getcmdcompltype() *getcmdcompltype()*
42004202
参照。
42014203
補完が定義されていない場合は空文字列を返す。
42024204

4205+
指定された文字列のコマンドライン補完のタイプを取得するには、
4206+
|getcompletiontype()| を使用する。
4207+
42034208
戻り値の型: |String|
42044209

42054210

@@ -4355,6 +4360,14 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
43554360
<
43564361
戻り値の型: list<string>
43574362

4363+
getcompletiontype({pat}) *getcompletiontype()*
4364+
{pat} を使用したコマンドライン補完の種類を返す。
4365+
対応する補完の種類が見つからない場合は、空の文字列が返される。
4366+
現在のコマンドライン補完の種類を取得するには、
4367+
|getcmdcompltype()| を使用する。
4368+
4369+
戻り値の型: |String|
4370+
43584371
*getcurpos()*
43594372
getcurpos([{winid}])
43604373
カーソルの位置を返す。これは getpos('.') に似ているが、追加の

en/builtin.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 28
1+
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -249,6 +249,8 @@ getcmdtype() String return current command-line type
249249
getcmdwintype() String return current command-line window type
250250
getcompletion({pat}, {type} [, {filtered}])
251251
List list of cmdline completion matches
252+
getcompletiontype({pat}) String return the type of the command-line
253+
completion using {pat}
252254
getcurpos([{winnr}]) List position of the cursor
253255
getcursorcharpos([{winnr}]) List character position of the cursor
254256
getcwd([{winnr} [, {tabnr}]]) String get the current working directory
@@ -4210,6 +4212,9 @@ getcmdcompltype() *getcmdcompltype()*
42104212
|getcmdprompt()|, |getcmdcomplpat()| and |setcmdline()|.
42114213
Returns an empty string when completion is not defined.
42124214

4215+
To get the type of the command-line completion for the
4216+
specified string, use |getcompletiontype()|.
4217+
42134218
Return type: |String|
42144219

42154220

@@ -4368,6 +4373,15 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
43684373
<
43694374
Return type: list<string>
43704375

4376+
getcompletiontype({pat}) *getcompletiontype()*
4377+
Return the type of the command-line completion using {pat}.
4378+
When no corresponding completion type is found, an empty
4379+
string is returned.
4380+
To get the current command-line completion type, use
4381+
|getcmdcompltype()|.
4382+
4383+
Return type: |String|
4384+
43714385
*getcurpos()*
43724386
getcurpos([{winid}])
43734387
Get the position of the cursor. This is like getpos('.'), but

0 commit comments

Comments
 (0)