Skip to content

v2.2.0

Latest

Choose a tag to compare

@hectron hectron released this 02 Nov 17:42
v2.2.0
0ff5f36

inkline styles demo

inkline 2.2.0 is faster to load, fixes several loading and option bugs, and adds new options, :checkhealth inkline, and :help inkline. It keeps 2.1's options and API.

New

  • inkline-cyberpunk is now a colorscheme of its own, so :colorscheme inkline-cyberpunk and pickers such as :Telescope colorschemes find it.
  • terminal_colors (default true) sets :terminal colors from the palette.
  • plugins turns plugin highlights on or off, for example { flash = false }, or false for none.
  • trouble.nvim highlights.
  • :checkhealth inkline reports invalid options, typos in option and plugin names, and whether termguicolors is on.
  • :help inkline documents options, styles, customization, and the Lua API.

Changed

  • Retro and cyberpunk share original's editor and plugin highlights:

    • diagnostics use inkline's colors
    • line numbers, floats, LSP references, and which-key match original
    • they gain telescope, cmp, noice, and treesitter-context highlights

    Syntax colors are unchanged in every style.

  • Original gains which-key, dropbar, copilot, Added/Changed/Removed, and WinBarNC highlights.

  • Highlights are no longer cached. Building them takes about 0.015 ms, and the cache could serve stale colors after a change.

Fixed

  • setup() no longer errors without arguments, and calling it more than once no longer adds autocmds.
  • switch_style() fires ColorScheme like any other colorscheme.
  • Changes to Normal or WinBar after loading are no longer undone when Neovim loses or regains focus.
  • vibrant_strings = false softens String as well as @string.
  • The inkline-retro and inkline-cyberpunk lualine themes use their own colors.

Upgrade notes

  • on_colors runs once per load instead of twice. A callback that isn't idempotent, such as one that lightens a color, now gives a different result.
  • cache is still accepted but ignored. clear_cache() only removes files left by older versions.
  • Internal modules such as inkline.groups.base and inkline.util.cache were removed. Only code that required them directly is affected.

Full Changelog: v2.1.2...v2.2.0