Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version9.{txt,jax} #2009

Merged
merged 2 commits into from
Mar 30, 2025
Merged
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
19 changes: 15 additions & 4 deletions doc/version9.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Mar 21
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Mar 27


VIMリファレンスマニュアル by Bram Moolenaar
@@ -41545,6 +41545,14 @@ Vim9 script の列挙型サポート |:enum|

protected _new() メソッドのサポート

差分モード~
-----------
'diffopt' 設定に "linematch" アルゴリズムを含める。これにより、類似の行のバッ
ファ間の変更が揃えられ、Vim での diff のハイライトが改善される

行内の変更の差分ハイライトを改善する。'diffopt' 設定の "inline" サブオプション
値を使用して構成可能で、"inline:simple" がデフォルトの "diffopt" 値に追加され
る (ただし、これは差分モードの動作を変更しない)。
*new-other-9.2*
その他の新機能 ~
--------------
@@ -41561,8 +41569,7 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート
|ins-completion-menu| で、挿入モード補完とコマンドライン補完の一致したテキスト
と補完の種類のハイライトをサポートする。|complete-items| を参照

'diffopt' 設定に "linematch" アルゴリズムを含める。これにより、類似の行のバッ
ファ間の変更が揃えられ、Vim での diff のハイライトが改善される
Vim script および Vim9 script での |Tuple| データ型のサポート。

*changed-9.2*
変更点~
@@ -41578,7 +41585,6 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート
- 'keyprotocol' オプションのデフォルト値は、ghostty 端末エミュレータ (kitty プ
ロトコルを使用) のサポートにより更新された


補完: ~
- |:cd| や同様のコマンドで 'cdpath' からディレクトリを補完できるように、
|:command-complete| や |getcompletion()| 等に "cd_in_path" 補完タイプを追加
@@ -41610,6 +41616,7 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート
- 'rulerformat' は |stl-%!| 項目をサポートするようになった
- ページ単位のスクロールには CTRL-F / CTRL-B で、また、半ページ単位のスクロー
ルには CTRL-D / CTRL-U で 'smoothscroll' ロジックを使用する。
- 'pummaxwidth' 補完ポップアップメニューの最大幅

Ex コマンド: ~
- 新しい目印を定義するときに優先順位を指定できるようにする |:sign-define|
@@ -41668,11 +41675,14 @@ Ex コマンド: ~
|getstacktrace()| Vim script の現在のスタックトレースを取得する
|id()| Dict、List、Object、Channel、または Blob 変数の一意の
識別子を取得
|list2tuple()| 項目のリストを Tuple に変換する
|matchbufline()| バッファ内のすべてのパターンのマッチ
|matchstrlist()| 文字列のリスト内のすべてのパターンのマッチ
|ngettext()| 単一/複数の翻訳メッセージの検索
|popup_setbuf()| ポップアップを別のバッファに切り替える
|str2blob()| 文字列のリストを blob に変換する
|test_null_tuple()| null の tuple を返す
|tuple2list()| Tuple の項目をリストに変換する


自動コマンド: ~
@@ -41688,6 +41698,7 @@ Ex コマンド: ~
ハイライト: ~

|hl-ComplMatchIns| 現在挿入されている補完にマッチするテキスト
|hl-DiffTextAdd| 変更された行に追加されたテキスト
|hl-MsgArea| コマンドラインとメッセージ領域のハイライト
|hl-PmenuMatch| ポップアップメニュー: マッチしたテキストのハイライト
|hl-PmenuMatchSel| ポップアップメニュー: 選択された行のマッチしたテキスト
24 changes: 18 additions & 6 deletions en/version9.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2025 Mar 21
*version9.txt* For Vim version 9.1. Last change: 2025 Mar 27


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41553,6 +41553,16 @@ Enum support for Vim9 script |:enum|

Support for protected _new() method

Diff mode ~
---------
Include the "linematch" algorithm for the 'diffopt' setting. This aligns
changes between buffers on similar lines improving the diff highlighting in
Vim

Improve the diff highlighting for changes within a line. Configurable using
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).
*new-other-9.2*
Other new features ~
------------------
@@ -41570,9 +41580,7 @@ Support highlighting the matched text and the completion kind for insert-mode
completion and command-line completion in |ins-completion-menu|, see
|complete-items|

Include the "linematch" algorithm for the 'diffopt' setting. This aligns
changes between buffers on similar lines improving the diff highlighting in
Vim
Support for the |Tuple| data type in Vim script and Vim9 script.

*changed-9.2*
Changed~
@@ -41588,7 +41596,6 @@ Default values: ~
- the default value of the 'keyprotocol' option has been updated and support
for the ghostty terminal emulator (using kitty protocol) has been added


Completion: ~
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
add the "cd_in_path" completion type for e.g. |:command-complete| and
@@ -41620,6 +41627,7 @@ Options: ~
- 'rulerformat' now supports the |stl-%!| item
- use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling
and CTRL-D / CTRL-U for half-pagewise scrolling
- 'pummaxwidth' maximum width for the completion popup menu

Ex commands: ~
- allow to specify a priority when defining a new sign |:sign-define|
@@ -41677,11 +41685,14 @@ Functions: ~
|getstacktrace()| get current stack trace of Vim scripts
|id()| get unique identifier for a Dict, List, Object,
Channel or Blob variable
|list2tuple()| turn a List of items into a Tuple
|matchbufline()| all the matches of a pattern in a buffer
|matchstrlist()| all the matches of a pattern in a List of strings
|ngettext()| lookup single/plural message translation
|popup_setbuf()| switch to a different buffer in a popup
|str2blob()| convert a List of strings into a blob
|test_null_tuple()| return a null tuple
|tuple2list()| turn a Tuple of items into a List


Autocommands: ~
@@ -41697,7 +41708,8 @@ Autocommands: ~

Highlighting: ~

|hl-ComplMatchIns| matched text of the currently inserted completion.
|hl-ComplMatchIns| matched text of the currently inserted completion
|hl-DiffTextAdd| added text within a changed line
|hl-MsgArea| highlighting of the Command-line and messages area
|hl-PmenuMatch| Popup menu: highlighting of matched text
|hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected