diff --git a/doc/builtin.jax b/doc/builtin.jax index 4c93d27b8..08c32e24d 100644 --- a/doc/builtin.jax +++ b/doc/builtin.jax @@ -2044,10 +2044,8 @@ complete_info([{what}]) *complete_info()* 挿入モードの補完に関する情報を辞書 |Dictionary| で返す。 |ins-completion| を参照。 要素は以下の通り: - mode 現在の補完モード名の文字列。 - 値は |complete_info_mode| を参照。 - pum_visible ポップアップメニューが表示されているなら |TRUE| - |pumvisible()| を参照。 + completed 現在選択されているインデックス項目のエントリを + 含む辞書を返す。 items 全補完マッチのリスト。各要素は "word", "abbr", "menu", "kind", "info", "user_data" を含む辞書。 |complete-items| を参照。 @@ -2056,14 +2054,18 @@ complete_info([{what}]) *complete_info()* が "what" に含まれている場合、返されるリストの 名前は "items" のままだが、各アイテムには追加 の "match" フィールドがある。 + mode 現在の補完モード名の文字列。 + 値は |complete_info_mode| を参照。 + preinserted_text + 事前に挿入される実際のテキスト。 + |preinserted()| を参照。 + pum_visible ポップアップメニューが表示されているなら |TRUE| + |pumvisible()| を参照。 selected 選択された補完候補のインデックス。最初のイン デックスが 0。どの補完候補も選択されていなけれ ば -1 (入力したテキストのみ表示、もしくは キーを利用した最後の補完後に選択しな かった場合)。 - inserted 入力された文字列。[現時点では未実装] - completed 現在選択されているインデックス項目のエントリを - 含む辞書を返す。 *complete_info_mode* mode の値は: @@ -12767,7 +12769,6 @@ channel |channel| プロセス間通信と |job| ジョブをサポート cindent 'cindent' をサポート。(常に true) clientserver リモート呼び出しをサポート |clientserver| clipboard 'clipboard' をサポート -clipboard_provider |clipboard-providers| をサポート clipboard_working 'clipboard' をサポートし、使用可能 cmdline_compl |cmdline-completion| コマンドライン補完をサポート cmdline_hist |cmdline-history| コマンドライン履歴をサポート diff --git a/en/builtin.txt b/en/builtin.txt index edbd72a01..e231dedb1 100644 --- a/en/builtin.txt +++ b/en/builtin.txt @@ -2001,10 +2001,8 @@ complete_info([{what}]) *complete_info()* Returns a |Dictionary| with information about Insert mode completion. See |ins-completion|. The items are: - mode Current completion mode name string. - See |complete_info_mode| for the values. - pum_visible |TRUE| if popup menu is visible. - See |pumvisible()|. + completed Return a dictionary containing the entries of + the currently selected index item. items List of all completion candidates. Each item is a dictionary containing the entries "word", "abbr", "menu", "kind", "info" and @@ -2015,13 +2013,18 @@ complete_info([{what}]) *complete_info()* and "items" are in "what", the returned list will still be named "items", but each item will have an additional "match" field. + mode Current completion mode name string. + See |complete_info_mode| for the values. + preinserted_text + The actual text that is pre-inserted, see + |preinserted()|. + pum_visible |TRUE| if popup menu is visible. + See |pumvisible()|. selected Selected item index. First index is zero. Index is -1 if no item is selected (showing typed text only, or the last completion after no item is selected when using the or keys) - completed Return a dictionary containing the entries of - the currently selected index item. *complete_info_mode* mode values are: @@ -13061,7 +13064,6 @@ channel Compiled with support for |channel| and |job| cindent Compiled with 'cindent' support. (always true) clientserver Compiled with remote invocation support |clientserver|. clipboard Compiled with 'clipboard' support. -clipboard_provider Compiled with |clipboard-providers| support clipboard_working Compiled with 'clipboard' support and it can be used. cmdline_compl Compiled with |cmdline-completion| support. cmdline_hist Compiled with |cmdline-history| support.