Skip to content

Commit aa73d18

Browse files
committed
Update version9.{txt,jax}
1 parent e4f3fd6 commit aa73d18

File tree

2 files changed

+111
-104
lines changed

2 files changed

+111
-104
lines changed

doc/version9.jax

Lines changed: 54 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Jul 05
1+
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Jul 08
22

33

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

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

41548+
|:defcompile| を使用した Vim9 クラスのすべてのメソッドのコンパイルのサポート。
41549+
4154841550
変数データ型として object<{type}> のサポートを追加 |vim9-types|
4154941551

41552+
Vim script および Vim9 script での |Tuple| データ型のサポート。
41553+
4155041554
差分モード~
4155141555
-----------
4155241556
'diffopt' 設定に "linematch" アルゴリズムを含める。これにより、類似の行のバッ
@@ -41555,27 +41559,67 @@ protected _new() メソッドのサポート
4155541559
行内の変更の差分ハイライトを改善する。'diffopt' 設定の "inline" サブオプション
4155641560
値を使用して構成可能で、"inline:simple" がデフォルトの "diffopt" 値に追加され
4155741561
る (ただし、これは差分モードの動作を変更しない)。
41562+
41563+
補完~
41564+
----
41565+
- 新しい挿入モード補完: |i_CTRL-X_CTRL-R| でレジスタから単語を補完する。
41566+
- 'wildchar' は、|/|、|?|、|:g|、|:v|、|:vimgrep| コマンドを使用した検索コンテ
41567+
キストでの補完を有効にする
41568+
- |getcompletion()| に "filetypecmd" 補完タイプを追加
41569+
- ":filetype" コマンド補完と |getcompletion()| の "filetypecmd" 補完タイプが追
41570+
加された。
41571+
- 'keymap' オプション値のコマンドライン補完のサポート。
41572+
- 'completeopt' 設定の "fuzzy" 値を使用した |ins-completion| 時の
41573+
|fuzzy-matching| をサポート
41574+
- |:command-complete| と |getcmdcomplpat()| を使った新しい shellcmdline 補完タ
41575+
イプを使用して、シェルコマンドとファイルを補完できるようにする
41576+
- 'wildmode' の新しいオプション値:
41577+
"noselect" - wildmenu のエントリを自動選択しない
41578+
"exacttext" - 検索補完で、wildmenu に完全一致の候補を表示する
41579+
- 'complete' の新しいフラグ:
41580+
"F{func}" - 与えられた関数を使って補完する
41581+
"F" - 'completefunc' を使って補完する
41582+
"o" - 'omnifunc' を使って補完する
41583+
- 'completeopt' の新しいオプション値:
41584+
"nosort" - 補完結果をソートしない
41585+
"preinsert" - 挿入する値をハイライトする
41586+
"nearest" - カーソルまでの距離で補完結果をソートする
41587+
41588+
プラットフォーム固有~
41589+
--------------------
41590+
Wayland UI のサポートと Wayland クリップボードのサポートが追加された。
41591+
41592+
XDG デスクトップ仕様 |xdg-base-dir| のサポートが追加され、環境変数 |$MYVIMDIR|
41593+
は、ユーザーの個人ランタイムディレクトリ (Linux では$HOME/.vim または
41594+
$HOME/.config/vim、Windows では $HOME/vimfiles) に設定される。
41595+
41596+
OpenVMS での Python3 のサポート。
41597+
41598+
Win32 GUI には、より優れたツールバーアイコンが付属している。
41599+
4155841600
*new-other-9.2*
4155941601
その他の新機能 ~
4156041602
--------------
41603+
<D-Key> を使用した GTK でのスーパーキーマッピングのサポート。
41604+
4156141605
新しいパッケージ |package-comment|、|package-nohlsearch| および
4156241606
|package-hlyank| を同梱。
4156341607

41564-
Wayland UI のサポートと Wayland クリップボードのサポート
41565-
41566-
XDG デスクトップ仕様 |xdg-base-dir| のサポート
41608+
対話型チュータープラグイン |vim-tutor-mode| が含まれており、|:Tutor| から起動
41609+
できる。
4156741610

4156841611
|gettext()| および |bindtextdomain()| 関数を使用して Vim script プラグインで
41569-
メッセージを翻訳するためのサポート
41612+
メッセージを翻訳するためのサポートが追加された
4157041613

4157141614
|ins-completion-menu| で、挿入モード補完とコマンドライン補完の一致したテキスト
41572-
と補完の種類のハイライトをサポートする。|complete-items| を参照
41615+
と補完の種類のハイライトをサポートする。|complete-items| を参照
4157341616

41574-
Vim script および Vim9 script での |Tuple| データ型のサポート
41617+
垂直の 'tabline' である新しい垂直の |tabpanel| ウィンドウが追加された
4157541618

41576-
'tabline' に似た垂直の |tabpanel| ウィンドウをサポート。
41619+
|dist#vim9#Launch()| および |dist#vim9#Open()| 関数が |vim-script-library| に
41620+
追加され、|netrw| から分離された。
4157741621

41578-
新しい挿入モード補完: |i_CTRL-X_CTRL-R| でレジスタから単語を補完する
41622+
".=" を使用した新しいダイグラフ "APPROACHES THE LIMIT" が追加された
4157941623

4158041624
*changed-9.2*
4158141625
変更点~
@@ -41590,38 +41634,23 @@ Vim script および Vim9 script での |Tuple| データ型のサポート。
4159041634
の高 dpi モニターに対応するために 12pt に増やされた。
4159141635
- 'keyprotocol' オプションのデフォルト値は、ghostty 端末エミュレータ (kitty プ
4159241636
ロトコルを使用) のサポートにより更新された
41637+
- ビジュアルモードのハイライトの改善 |hl-Visual|
4159341638

4159441639
補完: ~
4159541640
- |:cd| や同様のコマンドで 'cdpath' からディレクトリを補完できるように、
4159641641
|:command-complete| や |getcompletion()| 等に "cd_in_path" 補完タイプを追加
4159741642
する
41598-
- |:command-complete| と |getcmdcomplpat()| を使った新しい shellcmdline 補完タ
41599-
イプを使用して、シェルコマンドとファイルを補完できるようにする
4160041643
- 補完メニューで追加の属性を指定できるようにする (LSP サーバーから非推奨の属性
4160141644
をマークできるようにする) |complete-items|
4160241645
- |CompleteDone| 自動コマンドを処理するとき、|v:event| 辞書に補完した単語と補
4160341646
完のタイプが提供される。
4160441647
- |complete_info()| は、"matches" キーを介してポップアップメニューに表示される
4160541648
マッチのリストを返す
41606-
- 'completeopt' の新しいオプション値:
41607-
"nosort" - 補完結果をソートしない
41608-
"preinsert" - 挿入する値をハイライトする
41609-
"nearest" - カーソルまでの距離で補完結果をソートする
4161041649
- 複数行の補完項目を期待通りに処理する
4161141650
- |:hi| コマンドのコマンドライン補完が改善された
41612-
- 'wildmode' の新しいオプション値:
41613-
"noselect" - wildmenu のエントリを自動選択しない
41614-
- 'complete' の新しいフラグ:
41615-
"F{func}" - 与えられた関数を使って補完する
41616-
"F" - 'completefunc' を使って補完する
41617-
"o" - 'omnifunc' を使って補完する
4161841651
- "{flag}^<limit>" 表記を使用して、 'complete' のソースのマッチ数を制限できる
4161941652
ようにする
41620-
- ":filetype" コマンドの補完を追加
41621-
- |getcompletion()| に "filetypecmd" 補完タイプを追加
4162241653
- 'smartcase' は補完のフィルタリングに適用される
41623-
- 'wildchar' は、|/|、|?|、|:g|、|:v|、|:vimgrep| コマンドを使用した検索コンテ
41624-
キストでの補完を有効にする
4162541654

4162641655
オプション: ~
4162741656
- 'commentstring' のデフォルトには、自動コメントの見栄えを良くするための空白の
@@ -41668,14 +41697,7 @@ Ex コマンド: ~
4166841697
る (適切な大文字小文字の変換を適用する)
4166941698
- putty 端末は |defaults.vim| の |TermResponse| 自動コマンドを使用して検出さ
4167041699
れ、Vim は暗い背景に切り替わる
41671-
- ドキュメントのナビゲーションを容易にするために、|help-TOC| パッケージが含ま
41672-
れている。
41673-
- 対話型 tutor プラグイン |vim-tutor-mode| が追加された。|:Tutor| から起動でき
41674-
る。
4167541700
- |vimtutor| を改良し、より高度なヒントを記載した第 2 章を追加する。
41676-
- |dist#vim9#Launch()| と |dist#vim9#Open()| を |vim-script-library| に追加し、
41677-
|netrw| から切り離す
41678-
- ".=" を使用した新しいダイグラフ "APPROACHES THE LIMIT"
4167941701
- |CTRL-C| は常にアクティブな |popup-window| を閉じる。
4168041702
- configure スクリプトは、GUI ツールキットを自動検出するときに、GTK2 よりも
4168141703
GTK3 の使用を優先する。
@@ -41778,25 +41800,6 @@ Ex コマンド: ~
4177841800
改良された/異なる MS-Windows マッピングのサポート
4177941801
|w32-experimental-keycode-trans-strategy|
4178041802

41781-
==============================================================================
41782-
☆改善点 *improvements-9.2*
41783-
41784-
'keymap' オプション値のコマンドライン補完のサポート。
41785-
41786-
|:defcompile| を使用した Vim9 クラスのすべてのメソッドのコンパイルのサポート。
41787-
41788-
<D-Key> を使用した GTK でのスーパーキーマッピングのサポート。
41789-
41790-
ビジュアルモード選択時のハイライトの改善。
41791-
41792-
OpenVMS での Python3 のサポート。
41793-
41794-
'completeopt' 設定の "fuzzy" 値を使用した |ins-completion| 時の
41795-
|fuzzy-matching| をサポート
41796-
41797-
環境変数 |$MYVIMDIR| は、ユーザーの個人ランタイムディレクトリ (Linux では
41798-
$HOME/.vim または $HOME/.config/vim、Windows では $HOME/vimfiles) に設定される
41799-
4180041803
==============================================================================
4180141804
☆コンパイル時の変更 *compile-changes-9.2*
4180241805

en/version9.txt

Lines changed: 57 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim version 9.1. Last change: 2025 Jul 05
1+
*version9.txt* For Vim version 9.1. Last change: 2025 Jul 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41553,8 +41553,12 @@ Enum support for Vim9 script |:enum|
4155341553

4155441554
Support for protected _new() method
4155541555

41556+
Support for compiling all the methods in a Vim9 class using |:defcompile|.
41557+
4155641558
Add support for object<{type}> as variable data type |vim9-types|
4155741559

41560+
Support for the |Tuple| data type in Vim script and Vim9 script.
41561+
4155841562
Diff mode ~
4155941563
---------
4156041564
Include the "linematch" algorithm for the 'diffopt' setting. This aligns
@@ -41565,29 +41569,70 @@ Improve the diff highlighting for changes within a line. Configurable using
4156541569
the "inline" sub option value for the 'diffopt' setting, with "inline:simple"
4156641570
being added to the default "diffopt" value (but this does not change how diff
4156741571
mode works).
41572+
41573+
Completion~
41574+
----------
41575+
- New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from
41576+
registers.
41577+
- Completion in search contexts using |/|, |?|, |:g|, |:v| and |:vimgrep|
41578+
commands using 'wildchar'
41579+
- ":filetype" command completion and the "filetypecmd" completion type for
41580+
|getcompletion()| have been included.
41581+
- Support for command-line completion of 'keymap' option values.
41582+
- Support for |fuzzy-matching| during |ins-completion| with the "fuzzy"
41583+
values of the 'completeopt' setting.
41584+
- allow to complete shell commands and files using the new shellcmdline
41585+
completion type using |:command-complete| and |getcmdcomplpat()|
41586+
- New option value for 'wildmode':
41587+
"noselect" - do not auto select an entry in the wildmenu
41588+
"exacttext" - show exact matches in wildmenu with search
41589+
completion
41590+
- New flags for 'complete':
41591+
"F{func}" - complete using given function
41592+
"F" - complete using 'completefunc'
41593+
"o" - complete using 'omnifunc'
41594+
- New option value for 'completeopt':
41595+
"nosort" - do not sort completion results
41596+
"preinsert" - highlight to be inserted values
41597+
"nearest" - sort completion results by distance to cursor
41598+
41599+
Platform specific~
41600+
-----------------
41601+
Support for Wayland UI and support for the Wayland clipboard has been added.
41602+
41603+
Support for the XDG Desktop Specification |xdg-base-dir| has been added and
41604+
the environment variable |$MYVIMDIR| is set to the users personal runtime
41605+
directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on
41606+
Windows).
41607+
41608+
Python3 support in OpenVMS is now available.
41609+
41610+
The Win32 GUI comes with better toolbar icons.
4156841611
*new-other-9.2*
4156941612
Other new features ~
4157041613
------------------
41571-
The new packages |package-comment|, |package-nohlsearch| and |package-hlyank|
41572-
are included.
41614+
Support for Super key mappings in GTK using <D-Key>.
4157341615

41574-
Support for Wayland UI and support for the Wayland clipboard
41616+
The new packages |package-comment|, |package-nohlsearch|, |package-hlyank| and
41617+
|help-TOC| are included.
4157541618

41576-
Support for the XDG Desktop Specification |xdg-base-dir|
41619+
An interactive tutor plugin has been included |vim-tutor-mode| and can be
41620+
started via |:Tutor|.
4157741621

4157841622
Support for translating messages in Vim script plugins using the |gettext()|
41579-
and |bindtextdomain()| functions.
41623+
and |bindtextdomain()| functions was included.
4158041624

4158141625
Support highlighting the matched text and the completion kind for insert-mode
4158241626
completion and command-line completion in |ins-completion-menu|, see
41583-
|complete-items|
41627+
|complete-items|.
4158441628

41585-
Support for the |Tuple| data type in Vim script and Vim9 script.
41629+
A new vertical |tabpanel| window has been included which is a vertical
41630+
'tabline'.
4158641631

41587-
Support for a vertical |tabpanel| window similar to the 'tabline'.
41632+
The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to
41633+
the |vim-script-library| and decoupled from |netrw|.
4158841634

41589-
New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from
41590-
registers.
41635+
The new digraph "APPROACHES THE LIMIT" using ".=" has been added
4159141636

4159241637
*changed-9.2*
4159341638
Changed~
@@ -41602,38 +41647,23 @@ Default values: ~
4160241647
increased to 12pt to accommodate modern high-dpi monitors
4160341648
- the default value of the 'keyprotocol' option has been updated and support
4160441649
for the ghostty terminal emulator (using kitty protocol) has been added
41650+
- Improved visual highlighting |hl-Visual|
4160541651

4160641652
Completion: ~
4160741653
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
4160841654
add the "cd_in_path" completion type for e.g. |:command-complete| and
4160941655
|getcompletion()|
41610-
- allow to complete shell commands and files using the new shellcmdline
41611-
completion type using |:command-complete| and |getcmdcomplpat()|
4161241656
- allow to specify additional attributes in the completion menu (allows to
4161341657
mark deprecated attributes from LSP server) |complete-items|
4161441658
- the completed word and completion type are provided when handling the
4161541659
|CompleteDone| autocommand in the |v:event| dictionary
4161641660
- |complete_info()| returns the list of matches shown in the poppu menu via
4161741661
the "matches" key
41618-
- New option value for 'completeopt':
41619-
"nosort" - do not sort completion results
41620-
"preinsert" - highlight to be inserted values
41621-
"nearest" - sort completion results by distance to cursor
4162241662
- handle multi-line completion items as expected
4162341663
- improved commandline completion for the |:hi| command
41624-
- New option value for 'wildmode':
41625-
"noselect" - do not auto select an entry in the wildmenu
41626-
- New flags for 'complete':
41627-
"F{func}" - complete using given function
41628-
"F" - complete using 'completefunc'
41629-
"o" - complete using 'omnifunc'
4163041664
- allow to limit matches for the 'complete' sources by using the
4163141665
"{flag}^<limit>" notation
41632-
- add ":filetype" command completion
41633-
- add "filetypecmd" completion type for |getcompletion()|
4163441666
- 'smartcase' applies to completion filtering
41635-
- 'wildchar' enables completion in search contexts using |/|, |?|, |:g|, |:v|
41636-
and |:vimgrep| commands
4163741667

4163841668
Options: ~
4163941669
- the default for 'commentstring' contains whitespace padding to have
@@ -41680,13 +41710,7 @@ Others: ~
4168041710
(and apply proper case folding)
4168141711
- the putty terminal is detected using an |TermResponse| autocommand in
4168241712
|defaults.vim| and Vim switches to a dark background
41683-
- the |help-TOC| package is included to ease navigating the documentation.
41684-
- an interactive tutor plugin has been included |vim-tutor-mode|, can be
41685-
started via |:Tutor|
4168641713
- improve the |vimtutor| and add a second chapter for more advanced tips
41687-
- add |dist#vim9#Launch()| and |dist#vim9#Open()| to the |vim-script-library|
41688-
and decouple it from |netrw|
41689-
- new digraph "APPROACHES THE LIMIT" using ".="
4169041714
- |CTRL-C| always closes the active |popup-window|.
4169141715
- the configure script will favor using GTK3 over GTK2 when auto-detecting the
4169241716
gui toolkit
@@ -41792,26 +41816,6 @@ INCOMPATIBLE CHANGES *incompatible-9.2*
4179241816
Improved/Different MS-Windows mapping support
4179341817
|w32-experimental-keycode-trans-strategy|
4179441818

41795-
==============================================================================
41796-
IMPROVEMENTS *improvements-9.2*
41797-
41798-
Support for command-line completion of 'keymap' option values.
41799-
41800-
Support for compiling all the methods in a Vim9 class using |:defcompile|.
41801-
41802-
Support for Super key mappings in GTK using <D-Key>.
41803-
41804-
Improved visual highlighting.
41805-
41806-
Python3 support in OpenVMS.
41807-
41808-
Support for |fuzzy-matching| during |ins-completion| with the "fuzzy"
41809-
values of the 'completeopt' setting
41810-
41811-
The environment variable |$MYVIMDIR| is set to the users personal runtime
41812-
directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles
41813-
on Windows)
41814-
4181541819
==============================================================================
4181641820
COMPILE TIME CHANGES *compile-changes-9.2*
4181741821

0 commit comments

Comments
 (0)