Vim patchダイジェスト (2022/01)

[Vim](http://www.vim.org/)のリリースされた[patch](https://github.com/vim/vim/commits/master)の説明です。
([8.2.3963](https://github.com/vim/vim/commit/096ca73dacd748a65d080197b842eef6f4423096) ～ [8.2.4277](https://github.com/vim/vim/commit/68854a82fdedebf6ee0675d1abeae6fc627ff6bb))
**新機能、大幅な仕様変更には、:four_leaf_clover:が付いています。**
Vim9 scriptの実装/仕様変更/不具合修正も頻繁におこなわれています。

* [8.2.4276](https://github.com/vim/vim/commit/9e0208f51cf1354ce0a7d3988133041a78681605): :alien:`test_scrollbar()`を削除して`test_gui_event()`に統合しました。(関連patch: [8.2.4259](https://github.com/vim/vim/commit/06011e1a55f32e47fe0af4bd449be6f0e3ff0814))
* [runtimeファイル更新](https://github.com/vim/vim/commit/c4573eb12dba6a062af28ee0b8938d1521934ce4): [Todo](https://github.com/vim/vim/commit/c4573eb12dba6a062af28ee0b8938d1521934ce4#diff-fb7eed53e3f2993f9d82c748206eaca82fd1d054a417c6de477bb54373d85643)更新。helpファイル更新。他。
* [8.2.4273](https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7): :four_leaf_clover:EBCDICのサポートを打ち切りました。
* [8.2.4270](https://github.com/vim/vim/commit/672776dbe8427876ef4bfce84520712df87b6eb1): :alien:`internal_get_nv_cmdchar()`を削除しました。
* [8.2.4259](https://github.com/vim/vim/commit/06011e1a55f32e47fe0af4bd449be6f0e3ff0814): :alien:`test_gui_event()`を追加し、`test_gui_drop_files()`, `test_gui_mouse_event()`, `test_gui_tabline_event()`, `test_gui_tabmenu_event()`を削除しました。(関連patch: [8.2.4276](https://github.com/vim/vim/commit/9e0208f51cf1354ce0a7d3988133041a78681605))
* [runtimeファイル更新](https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063): [Todo](https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063#diff-fb7eed53e3f2993f9d82c748206eaca82fd1d054a417c6de477bb54373d85643)更新。helpファイル更新。他。
* [8.2.4249](https://github.com/vim/vim/commit/585ee07cfef307b2fc828537e0d31fdc22d7e79f): :four_leaf_clover:`'spellsuggest'`に項目`timeout`を追加しました。検索時間上限をミリ秒で指定します。
* [8.2.4242](https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab): :four_leaf_clover:ビジュアルモードの`P`は無名レジスタを更新しないようにしました。(`:h v_P`)
* [runtimeファイル更新](https://github.com/vim/vim/commit/6f4754b9f7253d7e4ba527064a24aff1acdb1e8f): [Todo](https://github.com/vim/vim/commit/6f4754b9f7253d7e4ba527064a24aff1acdb1e8f#diff-fb7eed53e3f2993f9d82c748206eaca82fd1d054a417c6de477bb54373d85643)更新。helpファイル更新。他。
* [8.2.4160](https://github.com/vim/vim/commit/4ede01f18884961f2e008880b4964e5d61ea5c36): :four_leaf_clover:選択モード時に`CTRL-R {register}`で削除されるレジスタを指定できるようにしました。(`:h v_CTRL-R`)
* [8.2.4153](https://github.com/vim/vim/commit/4ac893f32109f29349661322676e5b81eb169b74): :four_leaf_clover:Windows: [Global IME](http://msdn.microsoft.com/en-us/library/aa741221(v=VS.85).aspx)のサポートを打ち切りました。
* [8.2.4144](https://github.com/vim/vim/commit/1a8825d7a3484d76ca16ea2aa9769cadca7758a4): :four_leaf_clover:Windows: libsodiumのdynamicロードをサポートしました。(関連patch: [8.2.4354](https://github.com/vim/vim/commit/d68b2fc034fa3c824e0d4d53745cfe9eb8c5ecd6), [8.2.4370](https://github.com/vim/vim/commit/cf6ad8ea8cff318877758b48d3786ab08251ab89))
* [8.2.4140](https://github.com/vim/vim/commit/a9528b39a666dbaa026320f73bae4b1628a7fe51): :four_leaf_clover:`maparg()`の第4引数{dict}が真の場合に返す辞書のエントリーに`scriptversion`を追加しました。
* [8.2.4136](https://github.com/vim/vim/commit/fd218c8a36e7ed33f7a205163690c5b7d2f31f8a): :four_leaf_clover:`:vim9script`の`autoload`引数を廃止しました。(関連patch: [8.2.4050](https://github.com/vim/vim/commit/dc4451df61a6aa12a0661817b7094fb32f09e11d))
* [8.2.4135](https://github.com/vim/vim/commit/6079da7cfb10c798535224c92db7fedd3914cb71): :four_leaf_clover:`:scriptnames`の出力で未だ読み込まれていないファイル名の前に`A:`と表示するようにしました。(関連patch: [8.2.4050](https://github.com/vim/vim/commit/dc4451df61a6aa12a0661817b7094fb32f09e11d))
* [8.2.4122](https://github.com/vim/vim/commit/3f3597be3ffa9ae226b2e9831e4ed64c8ae43c42): :four_leaf_clover:`:verbose command {Cmd}`に補完の引数を表示するようにしました。(`-complete`が`custom`または`customlist`の場合の関数名)
* [runtimeファイル更新](https://github.com/vim/vim/commit/fd31be29b8220ee1cb0b3460c82f2634ae3cc370): [Todo](https://github.com/vim/vim/commit/fd31be29b8220ee1cb0b3460c82f2634ae3cc370#diff-fb7eed53e3f2993f9d82c748206eaca82fd1d054a417c6de477bb54373d85643)更新。helpファイル更新。他。
* [8.2.4107](https://github.com/vim/vim/commit/a9725221ac4650b7e9219bf6e3682826fe2e0096): :four_leaf_clover:`feedkeys()`の第2引数{mode}に`'c'`を追加しました。実行時にスクリプトコンテキストを退避します。
* [8.2.4087](https://github.com/vim/vim/commit/3e4fa3d7d37162cd08fc0c6e83f52fd323f63eba): :four_leaf_clover::alien:`test_override()`の第1引数{name}に`"autoload"`指定を追加しました。
* [8.2.4052](https://github.com/vim/vim/commit/ee63031b572eb7aea27be4c7e3dafba0daaf681b): :four_leaf_clover:`win_move_separator()`と`win_move_statusline()`を追加しました。プラグインからウィンドウサイズの変更が容易におこなえます。(関連patch: [8.2.4248](https://github.com/vim/vim/commit/a0c4e2f2d7aa164d9d7692702c752ea063bd3a8c))
* [8.2.4050](https://github.com/vim/vim/commit/dc4451df61a6aa12a0661817b7094fb32f09e11d): :four_leaf_clover:Vim9: `:import`に`autoload`オプションを追加しました。指定時は遅延読み込みになります。(`:h vim9-autoload`) (関連patch: [8.2.4053](https://github.com/vim/vim/commit/fe2ef0b2cda0b25c45bd9e320f8b77931ee8ef2e), [8.2.4063](https://github.com/vim/vim/commit/b8822442d716df0230c79531132e530e95cc17e3), [8.2.4066](https://github.com/vim/vim/commit/17d36cbcd36d944c744ef68afa971718959b2111). [8.2.4072](https://github.com/vim/vim/commit/d041f4208b0a2149e9d41f6443aa1c14c076a411), [8.2.4082](https://github.com/vim/vim/commit/3049fcf0a189b0fea8468fa308887b8252d93dce), [8.2.4083](https://github.com/vim/vim/commit/0e3e7ba05fa9cebe17d38def97ecd38a987d02ec), [8.2.4084](https://github.com/vim/vim/commit/130f65d46bca94535d30cef518a6184613fb7ebf), [8.2.4102](https://github.com/vim/vim/commit/857c8bb1bbe754cf2c5b709703d2eb848c800285), [8.2.4104](https://github.com/vim/vim/commit/bfac409d0b24d212a6d846edb651c49dac03745f), [8.2.4131](https://github.com/vim/vim/commit/cbbc48f64b9cfd88720dc94b0578a3726f725178), [8.2.4132](https://github.com/vim/vim/commit/1836d6157828baddd94e1f2c82488031570e444d), [8.2.4135](https://github.com/vim/vim/commit/6079da7cfb10c798535224c92db7fedd3914cb71), [8.2.4136](https://github.com/vim/vim/commit/fd218c8a36e7ed33f7a205163690c5b7d2f31f8a), [8.2.4137](https://github.com/vim/vim/commit/d02dce2bb572f0e6b4570442e9cdbed14ef41820), [8.2.4174](https://github.com/vim/vim/commit/19e69a63302f7f8972cee723bf0f3fc176825583), [8.2.4177](https://github.com/vim/vim/commit/b697dc295d0625bf2445649f03019f9b8fccc1a8), [8.2.4216](https://github.com/vim/vim/commit/06b77229ca704d00c4f138ed0377556e54d5851f)、[8.2.4264](https://github.com/vim/vim/commit/d8fe6d34bb582438142d7c1f73d0bd8537bb3a7a), [8.2.4265](https://github.com/vim/vim/commit/6a058070924928f1b2bdb11f345229074904d8bd), [8.2.4275](https://github.com/vim/vim/commit/223a950a85448253780da4e821a5b23dcdfad28f))
* [runtimeファイル更新](https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b): [Todo](https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b#diff-fb7eed53e3f2993f9d82c748206eaca82fd1d054a417c6de477bb54373d85643)更新。helpファイル更新。他。
* [8.2.4019](https://github.com/vim/vim/commit/d5f400c607182db6d4fbe2964471d796277f67e8): :four_leaf_clover:Vim9: JavaScriptライクな`import`機構が複雑すぎたため、シンプルな仕様に変更しました。(構文としては`import "myscript.vim"` か `import "thatscript.vim" as that`のみ) (関連patch: [8.2.4021](https://github.com/vim/vim/commit/2ef01d929d094c9063a259a74e23cf61be74b9b6), [8.2.4044](https://github.com/vim/vim/commit/7c24dfddc28776eeff7464982ae5b94e187b6135), [8.2.4050](https://github.com/vim/vim/commit/dc4451df61a6aa12a0661817b7094fb32f09e11d), [8.2.4058](https://github.com/vim/vim/commit/762838218feb223f53ab87d80928dadd991a1746), [8.2.4067](https://github.com/vim/vim/commit/f111cdfae6edf697390e0d9a85082a6526b03da6), [8.2.4068](https://github.com/vim/vim/commit/f479cac084c7ddd9f20944c8978d39f3ef092868), [8.2.4069](https://github.com/vim/vim/commit/5d9826973d9f4c6ffbb5648676bb628660c62906), [8.2.4085](https://github.com/vim/vim/commit/c43e6235c7b3e64f81c6a4e294e4e47abf7a869a). [8.2.4117](https://github.com/vim/vim/commit/47036b6bd7e5a0b38f093d9f0630f054b04fa68e). [8.2.4134](https://github.com/vim/vim/commit/113b8dc111febf605cd1492788353be6c3931fce). [8.2.4145](https://github.com/vim/vim/commit/937610bc9f9c827e3e25fed32661fcbf3f994e10), [8.2.4161](https://github.com/vim/vim/commit/21f0d6cbca9c93e2319d45a33ba26b10a85ff4dc), [8.2.4163](https://github.com/vim/vim/commit/2017d6f3b1d523204e5471e941cfa687b4da0058), [8.2.4167](https://github.com/vim/vim/commit/dd5893be34649482ed62525430fb8baa1ec273ce), [8.2.4171](https://github.com/vim/vim/commit/f0e7e6365e86ca42c177fe165d3097d1bfb35f72), [8.2.4173](https://github.com/vim/vim/commit/e70dd11ef41f69bd5e94f630194e6b3c4f3f2102), [8.2.4176](https://github.com/vim/vim/commit/3d8e25a6d2660432df033cdad29f981ffe6ae0fc), [8.2.4181](https://github.com/vim/vim/commit/7b29f6a3949743914f08410b6f6bd6237c2f2038), [8.2.4183](https://github.com/vim/vim/commit/3ba685eeefcfbbf895d70664357ef05f252d7b21), [8.2.4184](https://github.com/vim/vim/commit/47bcc5f4c83c158f43ac2ea7abfe99dbf5c2e098), [8.2.4185](https://github.com/vim/vim/commit/28e60cc088cadd25afb69ee636f0e2e34233ba4e), [8.2.4186](https://github.com/vim/vim/commit/36c2add7f82bc5dbbfc45db31953ef9633c635b3), [8.2.4192](https://github.com/vim/vim/commit/7ef4a2fe3736bbeb5bad182782a74576aa06b0db), [8.2.4193](https://github.com/vim/vim/commit/f4e88f2152c5975a6f4cfa7ccd745575fe4d1c78), [8.2.4197](https://github.com/vim/vim/commit/2a7aa834583dea157eccf3e69827d2ff1d9fe9c7), [8.2.4209](https://github.com/vim/vim/commit/3e93a2b075e99a2b3ced85227a6373be233712ff), [8.2.4277](https://github.com/vim/vim/commit/68854a82fdedebf6ee0675d1abeae6fc627ff6bb))
* [8.2.3969](https://github.com/vim/vim/commit/56200eed62e59ad831f6564dcafe346e6f97ac20): :four_leaf_clover:Vimの定義済変数`v:maxcol`を追加しました。最大行長が格納されています。
* [8.2.3966](https://github.com/vim/vim/commit/b37a65e4bf08c4eec4fa5b81a5efc3945fca44de): `feedkeys()`で{mode}に`'x'`を指定した場合、短縮入力(Abbreviations)が効かない場合があるのを修正しました。
* [8.2.3965](https://github.com/vim/vim/commit/b79ee0c299d786627784f7304ba84b80e78ece26): :four_leaf_clover:Vim9 scriptをサポートしているかどうかを`has('vim9script')`でチェックできるようにしました。(関連patch: [8.2.3979](https://github.com/vim/vim/commit/a6feb163f0295dfefb829d93ba3fa659b9c262b6))

---
#### 凡例

|表記|意味|
|:------|:------|
|:four_leaf_clover:|新機能、大幅な仕様変更|
|:alien:|Vim開発者向けの追加、変更|
|`'hoge'`|オプション (`:h options`参照)|
|`:hoge`|Exコマンド (`:h :index`参照)|
|`hoge()`|組み込み関数 (`:h functions`参照)|
|`v:hoge`|Vim定義済変数 (`:h v:`参照)|
|`+hoge`|feature (`:h +feature-list`参照)|

---
#### 方針
[こちら](http://qiita.com/h_east/items/23cd0d10932505072e6b#%E6%96%B9%E9%87%9D)を参照。