diff --git a/doc/version9.jax b/doc/version9.jax index 97bb5ee11..82a0e6dbb 100644 --- a/doc/version9.jax +++ b/doc/version9.jax @@ -1,4 +1,4 @@ -*version9.txt* For Vim バージョン 9.1. Last change: 2025 Jul 15 +*version9.txt* For Vim バージョン 9.1. Last change: 2025 Jul 16 VIMリファレンスマニュアル by Bram Moolenaar @@ -41560,6 +41560,12 @@ Vim script および Vim9 script での |Tuple| データ型のサポート。 値を使用して構成可能で、"inline:simple" がデフォルトの "diffopt" 値に追加され る (ただし、これは差分モードの動作を変更しない)。 +'diffanchors' オプションは、バッファ内のアドレスをコンマ区切りで指定する。これ +らのアドレスは、バッファセクションを分割し、個別に差分をとるためのアンカーポイ +ントとして機能し、差分のアライメントを改善する。このオプションは、'diffopt' に +"anchor" が含まれており、かつ、指定されたアドレスがすべてのバッファで解決され +る場合にのみ使用される。そうでない場合、アンカーは無視される。 + 補完~ ---- - 新しい挿入モード補完: |i_CTRL-X_CTRL-R| でレジスタから単語を補完する。 @@ -41706,6 +41712,8 @@ Ex コマンド: ~ - configure スクリプトは、GUI ツールキットを自動検出するときに、GTK2 よりも GTK3 の使用を優先する。 - |gv| はオペレータ待機モードで動作し、中断しない。 +- GUI 以外の 'tabline' に表示される閉じるボタンは、'mouse' オプションに "a" ま + たはフラグ "n"、"v"、"i" のいずれかが含まれている場合にのみ表示される。 *added-9.2* 追加要素 ~ @@ -41783,6 +41791,7 @@ Ex コマンド: ~ 'completefuzzycollect' (一部の) |ins-completion| モード用のファジーな候補の収 集を有効にする 'completeitemalign' 挿入モード補完ポップアップでの |complete-items| の順序 +'diffanchors' 差分の同期を強制する {address} のリスト 'eventignorewin' ウィンドウ内で無視される自動コマンドイベント 'findfunc' |:find| コマンドの結果を取得するための Vim の関数 'isexpand' 補完のトリガーを定義する diff --git a/en/version9.txt b/en/version9.txt index 961790bf2..1dd1576ac 100644 --- a/en/version9.txt +++ b/en/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.1. Last change: 2025 Jul 15 +*version9.txt* For Vim version 9.1. Last change: 2025 Jul 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41570,6 +41570,12 @@ the "inline" sub option value for the 'diffopt' setting, with "inline:simple" being added to the default "diffopt" value (but this does not change how diff mode works). +The 'diffanchors' option specifies a comma-separated list of addresses in +a buffer that act as anchor points for splitting and independently diffing +buffer sections, improving diff alignment. It is only used when 'diffopt' +includes "anchor" and all specified addresses must resolve in every buffer, or +else the anchors are ignored. + Completion~ ---------- - New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from @@ -41720,6 +41726,8 @@ Others: ~ - the configure script will favor using GTK3 over GTK2 when auto-detecting the gui toolkit - |gv| works in operator pending mode and does not abort +- The close button shown in the non-GUI 'tabline' will only be visible if the + 'mouse' option contains either "a" or any of the flags "n", "v", or "i". *added-9.2* Added ~ @@ -41799,6 +41807,7 @@ Options: ~ |ins-completion| modes 'completeitemalign' Order of |complete-items| in Insert mode completion popup +'diffanchors' list of {address} to force syncing of diffs 'eventignorewin' autocommand events that are ignored in a window 'findfunc' Vim function to obtain the results for a |:find| command