|
| 1 | +<p>Updated to Vim 9.1.0727</p> |
| 2 | + |
| 3 | +<p>This update mostly syncs to new upstream Vim version, along with small fixes.</p> |
| 4 | + |
| 5 | +<h1 id="features">Features</h1> |
| 6 | + |
| 7 | +<h2 id="new-vim-features">New Vim features</h2> |
| 8 | + |
| 9 | +<ul> |
| 10 | + <li>Vim now supports the XDG Base Directory Specification. You can now put your vimrc and plugins in <code>~/.config/vim</code> intsead of <code>~/.vim</code> / <code>~/.vimrc</code>. See <a href="https://macvim.org/docs/redirect.html?tag=xdg-base-dir"><code>:h xdg-base-dir</code></a>. <a href="https://github.com/vim/vim/commit/c9df1fb35a1866901c32df37dd39c8b39dbdb64a">v9.1.0327</a></li> |
| 11 | + <li>Auto completion |
| 12 | + <ul> |
| 13 | + <li> |
| 14 | + <p>Matched text in a completion popup menu will now be highlighted <a href="https://github.com/vim/vim/commit/40c1c3317d92f8c2adadf744fab72e4458e2a9fa">v9.1.0476</a></p> |
| 15 | + |
| 16 | + <p><img width="147" alt="image" src="https://github.com/user-attachments/assets/9dff8254-74ca-455d-b65e-50ed87e30961" /></p> |
| 17 | + </li> |
| 18 | + <li>Insert mode fuzzy completion (<code>:set completopt+=fuzzy</code>). <a href="https://github.com/vim/vim/commit/a218cc6cdabae1113647b817c4eefc2b60a6902f">v9.1.0463</a> / <a href="https://github.com/vim/vim/commit/8159fb18a92e9a9f5e35201bd92bf651f4d5835c">v9.1.0598</a></li> |
| 19 | + </ul> |
| 20 | + </li> |
| 21 | + <li>New options: |
| 22 | + <ul> |
| 23 | + <li><code>tabclose</code>: specifies tab closing behavior. <a href="https://github.com/vim/vim/commit/5247b0b92e191a046b034171a3b34031e317735f">v9.1.0572</a></li> |
| 24 | + <li><code>winfixbuf</code>: fixes a window to a buffer and prevent navigating away from it. <a href="https://github.com/vim/vim/commit/215703563757a4464907ead6fb9edaeb7f430bea">v9.1.0147</a></li> |
| 25 | + </ul> |
| 26 | + </li> |
| 27 | + <li>New functions: |
| 28 | + <ul> |
| 29 | + <li><code>getregion()</code> / <code>getregionpos()</code>: Helps retrieve the text selected in a visual selection. <a href="https://github.com/vim/vim/commit/3f905ab3c4f66562f4a224bf00f49d98a0b0da91">v9.1.0120</a> <a href="https://github.com/vim/vim/commit/19b718828d8d5fab52d94c6cdba694641879ab38">v9.1.0142</a> <a href="https://github.com/vim/vim/commit/b4757e627e6c83d1c8e5535d4887a82d6a5efdd0">v9.1.0394</a></li> |
| 30 | + <li><code>diff()</code>: Diff provided strings. <a href="https://github.com/vim/vim/commit/fa37835b8c0ed0f83952978fca4c332335ca7c46">v9.1.0071</a></li> |
| 31 | + <li><code>gettext()</code> / <code>bindtextdomain()</code>: Vim plugins can now add localized messages. <a href="https://github.com/vim/vim/commit/ce0ef910df837b9b961f007a0a35064cad85188b">v9.1.0509</a>.</li> |
| 32 | + <li><code>filecopy()</code>: Copy a file using Vim script. <a href="https://github.com/vim/vim/commit/60c8743ab6c90e402e6ed49d27455ef7e5698abe">v9.1.0465</a></li> |
| 33 | + </ul> |
| 34 | + </li> |
| 35 | + <li>New bundled optional plugins (use <code>packadd</code> to enable them): |
| 36 | + <ul> |
| 37 | + <li>comment: toggle code comments on/off. <a href="https://github.com/vim/vim/issues/14634">vim/vim#14634</a></li> |
| 38 | + <li>nohlsearch: simple package to automatically set <code>nohlsearch</code>. <a href="https://github.com/vim/vim/issues/15042">vim/vim#15042</a></li> |
| 39 | + </ul> |
| 40 | + </li> |
| 41 | + <li>Highlighting for diff files are back to normal. <a href="https://github.com/vim/vim/commit/124371c5a149a8c0c75c04b6c90ac11e71a0aa97">v9.1.0016</a></li> |
| 42 | + <li>Vim9 script improvements.</li> |
| 43 | + <li>Miscellaneous smoothscroll, termdebug, security fixes.</li> |
| 44 | + <li>Other platforms (these don’t affect MacVim and included for reference only): |
| 45 | + <ul> |
| 46 | + <li>GTK Vim GUI can now also use <code><D-...></code> to map super keys, similar to MacVim for its Cmd key mappings. This should allow sharing cross-platform configs easier. <a href="https://github.com/vim/vim/commit/92e90a1e102825aa9149262cacfc991264db05df">v9.1.0058</a></li> |
| 47 | + <li>Vim GUI now supports Wayland in Linux. <a href="https://github.com/vim/vim/commit/6e0a18f82bd04a45e9682523c42af9cbbc37684c">v9.1.0064</a></li> |
| 48 | + </ul> |
| 49 | + </li> |
| 50 | +</ul> |
| 51 | + |
| 52 | +<h2 id="misc">Misc</h2> |
| 53 | + |
| 54 | +<ul> |
| 55 | + <li>When resizing MacVim, the title bar’s message looks a little nicer now. <a href="https://github.com/macvim-dev/macvim/issues/1488">#1488</a> by @sfsam</li> |
| 56 | + <li>Copyright disclaimer in About MacVim no longer shows a year. <a href="https://github.com/macvim-dev/macvim/issues/1497">#1497</a></li> |
| 57 | +</ul> |
| 58 | + |
| 59 | +<h1 id="general">General</h1> |
| 60 | + |
| 61 | +<ul> |
| 62 | + <li>Sparkle (updater for MacVim) is now updated to 2.6.4. For legacy builds it’s now updated to 1.27.3. <a href="https://github.com/macvim-dev/macvim/issues/1494">#1494</a></li> |
| 63 | +</ul> |
| 64 | + |
| 65 | +<h1 id="fixes">Fixes</h1> |
| 66 | + |
| 67 | +<ul> |
| 68 | + <li>Fixed dragging tabs to reorder them resulting in a crash. <a href="https://github.com/macvim-dev/macvim/issues/1499">#1499</a></li> |
| 69 | +</ul> |
| 70 | + |
| 71 | +<h1 id="compatibility">Compatibility</h1> |
| 72 | + |
| 73 | +<p>Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build)</p> |
| 74 | + |
| 75 | +<p>Script interfaces have compatibility with these versions:</p> |
| 76 | + |
| 77 | +<ul> |
| 78 | + <li>Lua 5.4</li> |
| 79 | + <li>Perl 5.30</li> |
| 80 | + <li>Python2 2.7</li> |
| 81 | + <li>Python3 3.9 or above</li> |
| 82 | + <li>Ruby 3.3</li> |
| 83 | +</ul> |
0 commit comments