Skip to content

Migration guide

Shawon edited this page Oct 3, 2024 · 8 revisions

Migrating to latest version

Here's the major changes in version v25.

  • Simpler highlight group customisation.

    {
      --- Old version
      highlight_groups = {},
    
      --- Highlight group sets can now be specified
      --- with their name.
      --- e.g. "light", "dark", "dynamic"
      highlight_groups = "dynamic"
    }
  • Automatically setting up hybrid mode callbacks. Hybrid mode can now be set up without changing the callback(s).

  • "github" heading style renamed to "decorated".

    setext_1 = {
        style = "decorated"
    }
  • Custom block quote option name changes,

    • callout_previewpreview.
    • callout_preview_hlpreview_hl.
    • custom_titletitle.
    • custom_iconicon.
  • pending checkbox state has been moved to custom states.

    custom = {
      { match_string = "-", icon = "", hl = "CheckboxPending" }
    }
  • Custom checkbox option name changes.

    • matchmatch_string.
  • Custom links option name change.

    • matchmatch_string.
  • Table structure has been changed.

Clone this wiki locally