Skip to content

sprite.nvim v0.6.0

Choose a tag to compare

@HundredBillion HundredBillion released this 17 Nov 04:02
026a08b

sprite.nvim v0.6.0 lets a plugin see what the host supports from the dock it just opened.

  • Host features on the dock handle: an opened dock now carries dock.features, a set keyed by feature name, and dock.limits, the host's limits. A plugin can check for a feature such as virtual-list-rows-v2 without calling sprite.available a second time. (#16)
  • Shared native dock test host: a socket host that exercises the real plugin API and session discovery and validates traffic against the protocol fixture, so SVGTree and SCM can test their native docks against current Sprite pane addresses. (#15)

Compatibility

Needs Sprite 0.6.0 or later, as v0.5.0 did. The API loads in Neovim 0.11 or later. Decorated list rows (virtual-list-rows-v2) are drawn by Sprite 0.7.0 and later.

Validation

CI passed on the tagged commit: tests on macOS and Ubuntu with Neovim 0.11.0, stable and nightly, plus the protocol and format checks.