From c446e1baea268a909d414d4a5c108d3655f9c419 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Thu, 20 Feb 2025 17:34:41 -0800 Subject: [PATCH] Add table of contents to What's New page Include the relevant styles and a show/hide toggle button on the top right (CSS only). Only show the TOC when the window is wide enough. If there are multiple release notes shown, will automatically group them together into a single TOC in script. Also add a new "all" parameter that could be passed to the URL parameter which is easier than having to type `?from=1&to=9999`. --- _includes/releases/r179.html | 29 ++++++--- _includes/releases/r180.html | 26 ++++++-- release-notes/whatsnew.html | 119 ++++++++++++++++++++++++++++++++++- 3 files changed, 160 insertions(+), 14 deletions(-) diff --git a/_includes/releases/r179.html b/_includes/releases/r179.html index 644c0c3..e3c276d 100644 --- a/_includes/releases/r179.html +++ b/_includes/releases/r179.html @@ -1,12 +1,27 @@

Updated to Vim 9.1.0

+ +

Happy New Year! See #1472 for a retrospective of 2023 and future roadmap.

Also, Vim 9.1 is now released! See announcement.

-

Features

+

Features

-

System monospace font (SF Mono)

+

System monospace font (SF Mono)

MacVim’s guifont option now supports a new -monospace- value, which instructs it to use the system monospace font, which is SF Mono in recent macOS versions. As mentioned below (New Vim features), you can now use tab-completion to see the available values in cmdline. See :h macvim-guifont for more details on how to use it (including using different font weights). #1463

@@ -14,7 +29,7 @@

System monospace font (SF Mono)

Menlo (default) vs SF Mono

-

New Vim features

+

New Vim features

-

Misc

+

Misc

New settings:

@@ -56,7 +71,7 @@

Misc

  • MacVim can be launched without loading user defaults for a clean experience via a command-line flag. See :h macvim-settings.
  • -

    General

    +

    General

    -

    Fixes

    +

    Fixes

    -

    Compatibility

    +

    Compatibility

    Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build)

    diff --git a/_includes/releases/r180.html b/_includes/releases/r180.html index 3d1b767..79d8912 100644 --- a/_includes/releases/r180.html +++ b/_includes/releases/r180.html @@ -1,10 +1,24 @@

    Updated to Vim 9.1.0727

    + +

    This update mostly syncs to new upstream Vim version, along with small fixes.

    -

    Features

    +

    Features

    -

    New Vim features

    +

    New Vim features

    -

    Misc

    +

    Misc

    -

    General

    +

    General

    -

    Fixes

    +

    Fixes

    -

    Compatibility

    +

    Compatibility

    Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build)

    diff --git a/release-notes/whatsnew.html b/release-notes/whatsnew.html index 199ff52..74ae496 100644 --- a/release-notes/whatsnew.html +++ b/release-notes/whatsnew.html @@ -14,6 +14,7 @@ Use ?from=&to= to list a range of releases. Use ?version= to list a single release from its revision number. + Use ?all to just show all of them. --> + + + + {% for release in site.data.releases.prereleases %}

    MacVim r{{ release }} (prerelease)

    @@ -104,9 +197,15 @@