Skip to content
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
15 changes: 14 additions & 1 deletion doc/builtin.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jun 28
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05


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

指定された文字列のコマンドライン補完のタイプを取得するには、
|getcompletiontype()| を使用する。

戻り値の型: |String|


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

getcompletiontype({pat}) *getcompletiontype()*
{pat} を使用したコマンドライン補完の種類を返す。
対応する補完の種類が見つからない場合は、空の文字列が返される。
現在のコマンドライン補完の種類を取得するには、
|getcmdcompltype()| を使用する。

戻り値の型: |String|

*getcurpos()*
getcurpos([{winid}])
カーソルの位置を返す。これは getpos('.') に似ているが、追加の
Expand Down
16 changes: 15 additions & 1 deletion en/builtin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Jun 28
*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 05


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

To get the type of the command-line completion for the
specified string, use |getcompletiontype()|.

Return type: |String|


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

getcompletiontype({pat}) *getcompletiontype()*
Return the type of the command-line completion using {pat}.
When no corresponding completion type is found, an empty
string is returned.
To get the current command-line completion type, use
|getcmdcompltype()|.

Return type: |String|

*getcurpos()*
getcurpos([{winid}])
Get the position of the cursor. This is like getpos('.'), but
Expand Down