From e742bc2ea2a430086a108f4854fbdaeb02b6d4ce Mon Sep 17 00:00:00 2001 From: h-east Date: Thu, 10 Oct 2024 18:05:37 +0900 Subject: [PATCH] Update version9.{txt,jax} --- doc/version9.jax | 5 ++++- en/version9.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/version9.jax b/doc/version9.jax index cbbcc5544..6e9d5fc5f 100644 --- a/doc/version9.jax +++ b/doc/version9.jax @@ -1,4 +1,4 @@ -*version9.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05 +*version9.txt* For Vim バージョン 9.1. Last change: 2024 Oct 08 VIMリファレンスマニュアル by Bram Moolenaar @@ -41584,6 +41584,8 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート - |:cd| や同様のコマンドで 'cdpath' からディレクトリを補完できるように、 |:command-complete| や |getcompletion()| 等に "cd_in_path" 補完タイプを追加 します +- |:command-complete| と |getcmdcomplpat()| を使った新しい shellcmdline 補完タ + イプを使用して、シェルコマンドとファイルを補完できるようにします - いくつかの (伝統的な) vi の動作/不整合を無効にするために、'cpoptions' にフラ グ "z" |cpo-z| を追加します (|d-special| および |cw| を参照)。 - 補完メニューで追加の属性を指定できるようにします (LSP サーバーから非推奨の属 @@ -41603,6 +41605,7 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート |diff()| 2 つの文字列のリストの差分 |filecopy()| ファイル {from} を {to} にコピー |foreach()| リストの項目に関数を適用 +|getcmdcomplpat()| シェルコマンドライン補完 |getcmdprompt()| input()/confirm() のプロンプトを取得 |getregion()| バッファからテキストの領域を取得 |getregionpos()| 領域の位置をリストで取得 diff --git a/en/version9.txt b/en/version9.txt index 56bb7e21d..a9434335c 100644 --- a/en/version9.txt +++ b/en/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.1. Last change: 2024 Oct 05 +*version9.txt* For Vim version 9.1. Last change: 2024 Oct 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41589,6 +41589,8 @@ Changed~ - allow to complete directories from 'cdpath' for |:cd| and similar commands, add the "cd_in_path" completion type for e.g. |:command-complete| and |getcompletion()| +- allow to complete shell commands and files using the new shellcmdline + completion type using |:command-complete| and |getcmdcomplpat()| - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi behaviour/inconsistency (see |d-special| and |cw|). - allow to specify additional attributes in the completion menu (allows to @@ -41608,6 +41610,7 @@ Functions: ~ |diff()| diff two Lists of strings |filecopy()| copy a file {from} to {to} |foreach()| apply function to List items +|getcmdcomplpat()| Shell command line completion |getcmdprompt()| get prompt for input()/confirm() |getregion()| get a region of text from a buffer |getregionpos()| get a list of positions for a region