Skip to content

Commit 012151f

Browse files
authored
Merge pull request #1960 from h-east/update-version9
Update version9.{txt,jax}
2 parents fb32de4 + b5066a1 commit 012151f

File tree

2 files changed

+92
-76
lines changed

2 files changed

+92
-76
lines changed

doc/version9.jax

Lines changed: 45 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Feb 11
1+
*version9.txt* For Vim バージョン 9.1. Last change: 2025 Feb 23
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -41563,9 +41563,11 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート
4156341563
'diffopt' 設定に "linematch" アルゴリズムを含める。これにより、類似の行のバッ
4156441564
ファ間の変更が揃えられ、Vim での diff のハイライトが改善される
4156541565

41566-
調整されたデフォルト値 ~
41567-
----------------------
41566+
*changed-9.2*
41567+
変更点~
41568+
------
4156841569

41570+
デフォルト値: ~
4156941571
- デフォルトの 'history' オプションの値が 200 に増加され、|defaults.vim| から
4157041572
削除された
4157141573
- Vim のデフォルトの 'backspace' オプションは "indent,eol,start" に設定され、
@@ -41575,67 +41577,70 @@ XDG デスクトップ仕様 |xdg-base-dir| のサポート
4157541577
- 'keyprotocol' オプションのデフォルト値は、ghostty 端末エミュレータ (kitty プ
4157641578
ロトコルを使用) のサポートにより更新された
4157741579

41578-
*changed-9.2*
41579-
変更点 ~
41580-
------
4158141580

41582-
- ページ単位のスクロールの CTRL-F および CTRL-B には 'smoothscroll' ロジックを
41583-
使用する。
41584-
- 半ページ単位のスクロールの CTRL-D および CTRL-U には 'smoothscroll' ロジック
41585-
を使用する。
41581+
補完: ~
41582+
- |:cd| や同様のコマンドで 'cdpath' からディレクトリを補完できるように、
41583+
|:command-complete| や |getcompletion()| 等に "cd_in_path" 補完タイプを追加
41584+
する
41585+
- |:command-complete| と |getcmdcomplpat()| を使った新しい shellcmdline 補完タ
41586+
イプを使用して、シェルコマンドとファイルを補完できるようにする
41587+
- 補完メニューで追加の属性を指定できるようにする (LSP サーバーから非推奨の属性
41588+
をマークできるようにする) |complete-items|
41589+
- |CompleteDone| 自動コマンドを処理するとき、|v:event| 辞書に補完した単語と補
41590+
完のタイプが提供される。
41591+
- |complete_info()| は、"matches" キーを介してポップアップメニューに表示される
41592+
マッチのリストを返す
41593+
- 'completeopt' の新しいオプション値:
41594+
"nosort" - 補完結果をソートしない
41595+
"preinsert" - 挿入する値をハイライトする
41596+
- 複数行の補完を期待通りに処理する
41597+
- |:hi| コマンドのコマンドライン補完が改善された
41598+
41599+
オプション: ~
4158641600
- 'commentstring' のデフォルトには、自動コメントの見栄えを良くするための空白の
4158741601
パディングを含んでいる |comment-install|
4158841602
- 'completeopt' は |global-local| オプションになった。
4158941603
- 'nrformats' は、マイナス記号の前の空白に基づいて符号付きか符号なしの数値かを
4159041604
決定する新しい "blank" サブオプションを受け付ける。
41605+
- いくつかの (伝統的な) vi の動作/不整合を無効にするために、'cpoptions' にフラ
41606+
グ "z" |cpo-z| を追加する (|d-special| および |cw| を参照)。
41607+
- 'rulerformat' は |stl-%!| 項目をサポートするようになった
41608+
- ページ単位のスクロールには CTRL-F / CTRL-B で、また、半ページ単位のスクロー
41609+
ルには CTRL-D / CTRL-U で 'smoothscroll' ロジックを使用する。
41610+
41611+
Ex コマンド: ~
4159141612
- 新しい目印を定義するときに優先順位を指定できるようにする |:sign-define|
41592-
- get(function, "arity") 関数を使用して関数の引数に関する情報を提供する
41593-
|get()-func|
4159441613
- |:bwipe| はジャンプリストとタグスタックのデータも消去する
4159541614
- |:bnext| や同様のコマンドを使用してバッファリスト内を移動すると、ドキュメン
4159641615
トどおりに動作し、ヘルプバッファをスキップする (ヘルプバッファから実行されて
4159741616
いない場合。そうでない場合は、次/前のヘルプバッファに移動する)。
41598-
- |:cd| や同様のコマンドで 'cdpath' からディレクトリを補完できるように、
41599-
|:command-complete| や |getcompletion()| 等に "cd_in_path" 補完タイプを追加
41600-
する
41601-
- |:command-complete| と |getcmdcomplpat()| を使った新しい shellcmdline 補完タ
41602-
イプを使用して、シェルコマンドとファイルを補完できるようにする
41603-
- いくつかの (伝統的な) vi の動作/不整合を無効にするために、'cpoptions' にフラ
41604-
グ "z" |cpo-z| を追加する (|d-special| および |cw| を参照)。
41605-
- 補完メニューで追加の属性を指定できるようにする (LSP サーバーから非推奨の属性
41606-
をマークできるようにする) |complete-items|
41607-
- 正規表現エンジンは、大文字小文字を区別しないマルチバイト文字に正しくマッチす
41608-
る (適切な大文字小文字の変換を適用する)
4160941617
- |:keeppatterns| は、|:s| と共に使用された場合、最後の置換パターンを保持する
41618+
41619+
関数: ~
41620+
- get(function, "arity") 関数を使用して関数の引数に関する情報を提供する
41621+
|get()-func|
4161041622
- |setqflist()| と |setloclist()| は、オプションで "u" アクションを使用し、
4161141623
quickfix リスト内の現在の選択を保持しようとすることができる。
41624+
- ローカルの Vim script 変数を Python インタープリターに渡すことができる
41625+
|py3eval()|
41626+
- |getwininfo()| はウィンドウの "leftcol" プロパティも返すようになった
41627+
- |v:stacktrace| 最後にキャッチされて終了していない例外のスタックトレース
41628+
- オプションの {opts} |Dict| 引数を |getchar()| に追加して、カーソルの動作、戻
41629+
り値の型、返されるキーを簡略化するかどうかを制御する
41630+
41631+
その他: ~
41632+
- 正規表現エンジンは、大文字小文字を区別しないマルチバイト文字に正しくマッチす
41633+
る (適切な大文字小文字の変換を適用する)
4161241634
- putty 端末は |defaults.vim| の |TermResponse| 自動コマンドを使用して検出さ
4161341635
れ、Vim は暗い背景に切り替わる
4161441636
- ドキュメントのナビゲーションを容易にするために、|help-TOC| パッケージが含ま
4161541637
れている。
4161641638
- 対話型 tutor プラグイン |vim-tutor-mode| が追加された。|:Tutor| から起動でき
4161741639
る。
4161841640
- |vimtutor| を改良し、より高度なヒントを記載した第 2 章を追加する。
41619-
- ローカルの Vim script 変数を Python インタープリターに渡すことができる
41620-
|py3eval()|
41621-
- |getwininfo()| はウィンドウの "leftcol" プロパティも返すようになった
41622-
- 'rulerformat' は |stl-%!| 項目をサポートするようになった
41623-
- |CompleteDone| 自動コマンドを処理するとき、|v:event| 辞書に補完した単語と補
41624-
完のタイプが提供される。
41625-
- |complete_info()| は、"matches" キーを介してポップアップメニューに表示される
41626-
マッチのリストを返す
41627-
- |v:stacktrace| 最後にキャッチされて終了していない例外のスタックトレース
41628-
- 'diffopt' 設定にラインマッチアルゴリズムを含める。これにより、類似行のバッ
41629-
ファ間の変更が揃えられ、Vim での diff のハイライトが改善される
41630-
- 'completeopt' の新しいオプション値:
41631-
"nosort" - 補完結果をソートしない
41632-
"preinsert" - 挿入する値をハイライトする
4163341641
- |dist#vim9#Launch()| と |dist#vim9#Open()| を |vim-script-library| に追加し、
4163441642
|netrw| から切り離す
4163541643
- ".=" を使用した新しいダイグラフ "APPROACHES THE LIMIT"
41636-
- オプションの {opts} |Dict| 引数を |getchar()| に追加して、カーソルの動作、戻
41637-
り値の型、返されるキーを簡略化するかどうかを制御する
41638-
- 複数行の補完を期待通りに処理する
4163941644

4164041645
*added-9.2*
4164141646
追加要素 ~

en/version9.txt

Lines changed: 47 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim version 9.1. Last change: 2025 Feb 11
1+
*version9.txt* For Vim version 9.1. Last change: 2025 Feb 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41573,8 +41573,11 @@ Include the "linematch" algorithm for the 'diffopt' setting. This aligns
4157341573
changes between buffers on similar lines improving the diff highlighting in
4157441574
Vim
4157541575

41576-
Adjusted default values ~
41577-
-----------------------
41576+
*changed-9.2*
41577+
Changed~
41578+
-------
41579+
41580+
Default values: ~
4157841581
- the default 'history' option value has been increased to 200 and removed
4157941582
from |defaults.vim|
4158041583
- the default 'backspace' option for Vim has been set to "indent,eol,start"
@@ -41584,61 +41587,69 @@ Adjusted default values ~
4158441587
- the default value of the 'keyprotocol' option has been updated and support
4158541588
for the ghostty terminal emulator (using kitty protocol) has been added
4158641589

41587-
*changed-9.2*
41588-
Changed~
41589-
-------
41590-
- use 'smoothscroll' logic for CTRL-F and CTRL-B for pagewise scrolling
41591-
- use 'smoothscroll' logic for CTRL-D and CTRL-U for half-pagewise scrolling
41590+
41591+
Completion: ~
41592+
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
41593+
add the "cd_in_path" completion type for e.g. |:command-complete| and
41594+
|getcompletion()|
41595+
- allow to complete shell commands and files using the new shellcmdline
41596+
completion type using |:command-complete| and |getcmdcomplpat()|
41597+
- allow to specify additional attributes in the completion menu (allows to
41598+
mark deprecated attributes from LSP server) |complete-items|
41599+
- the completed word and completion type are provided when handling the
41600+
|CompleteDone| autocommand in the |v:event| dictionary
41601+
- |complete_info()| returns the list of matches shown in the poppu menu via
41602+
the "matches" key
41603+
- New option value for 'completeopt':
41604+
"nosort" - do not sort completion results
41605+
"preinsert" - highlight to be inserted values
41606+
- handle multi-line completion as expected
41607+
- improved commandline completion for the |:hi| command
41608+
41609+
Options: ~
4159241610
- the default for 'commentstring' contains whitespace padding to have
4159341611
automatic comments look nicer |comment-install|
4159441612
- 'completeopt' is now a |global-local| option.
4159541613
- 'nrformats' accepts the new "blank" suboption, to determine a signed or
4159641614
unsigned number based on whitespace in front of a minus sign.
41615+
- add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41616+
behaviour/inconsistency (see |d-special| and |cw|).
41617+
- 'rulerformat' now supports the |stl-%!| item
41618+
- use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling
41619+
and CTRL-D / CTRL-U for half-pagewise scrolling
41620+
41621+
Ex commands: ~
4159741622
- allow to specify a priority when defining a new sign |:sign-define|
41598-
- provide information about function arguments using the get(func, "arity")
41599-
function |get()-func|
4160041623
- |:bwipe| also wipes jumplist and tagstack data
4160141624
- moving in the buffer list using |:bnext| and similar commands, behaves as
4160241625
documented and skips help buffers (if not run from a help buffer, else
4160341626
moves to the next/previous help buffer).
41604-
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
41605-
add the "cd_in_path" completion type for e.g. |:command-complete| and
41606-
|getcompletion()|
41607-
- allow to complete shell commands and files using the new shellcmdline
41608-
completion type using |:command-complete| and |getcmdcomplpat()|
41609-
- add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41610-
behaviour/inconsistency (see |d-special| and |cw|).
41611-
- allow to specify additional attributes in the completion menu (allows to
41612-
mark deprecated attributes from LSP server) |complete-items|
41613-
- the regex engines match correctly case-insensitive multi-byte characters
41614-
(and apply proper case folding)
4161541627
- |:keeppatterns| preserves the last substitute pattern when used with |:s|
41628+
41629+
Functions: ~
41630+
- provide information about function arguments using the get(func, "arity")
41631+
function |get()-func|
4161641632
- |setqflist()| and |setloclist()| can optionally try to preserve the current
4161741633
selection in the quickfix list with the "u" action.
41634+
- allow to pass local Vim script variables to python interpreter |py3eval()|
41635+
- |getwininfo()| now also returns the "leftcol" property for a window
41636+
- |v:stacktrace| The stack trace of the exception most recently caught and
41637+
not finished
41638+
- Add the optional {opts} |Dict| argument to |getchar()| to control: cursor
41639+
behaviour, return type and whether or not to simplify the returned key
41640+
41641+
Others: ~
41642+
- the regex engines match correctly case-insensitive multi-byte characters
41643+
(and apply proper case folding)
4161841644
- the putty terminal is detected using an |TermResponse| autocommand in
4161941645
|defaults.vim| and Vim switches to a dark background
4162041646
- the |help-TOC| package is included to ease navigating the documentation.
4162141647
- an interactive tutor plugin has been included |vim-tutor-mode|, can be
4162241648
started via |:Tutor|
4162341649
- improve the |vimtutor| and add a second chapter for more advanced tips
41624-
- allow to pass local Vim script variables to python interpreter |py3eval()|
41625-
- |getwininfo()| now also returns the "leftcol" property for a window
41626-
- 'rulerformat' now supports the |stl-%!| item
41627-
- the completed word and completion type are provided when handling the
41628-
|CompleteDone| autocommand in the |v:event| dictionary
41629-
- |complete_info()| returns the list of matches shown in the poppu menu via
41630-
the "matches" key
41631-
- |v:stacktrace| The stack trace of the exception most recently caught and
41632-
not finished
41633-
- New option value for 'completeopt':
41634-
"nosort" - do not sort completion results
41635-
"preinsert" - highlight to be inserted values
4163641650
- add |dist#vim9#Launch()| and |dist#vim9#Open()| to the |vim-script-library|
4163741651
and decouple it from |netrw|
4163841652
- new digraph "APPROACHES THE LIMIT" using ".="
41639-
- Add the optional {opts} |Dict| argument to |getchar()| to control: cursor
41640-
behaviour, return type and whether or not to simplify the returned key
41641-
- handle multi-line completion as expected
4164241653

4164341654
*added-9.2*
4164441655
Added ~

0 commit comments

Comments
 (0)