Skip to content

Releases

sprite.nvim v0.8.0

Choose a tag to compare

@HundredBillion HundredBillion released this 19 Nov 18:12
db49165

sprite.nvim v0.8.0 can open a dock under the editor.

  • Bottom docks: sprite.open takes side = "bottom" with a height in pixels, on a host that lists dock-bottom-v1. On a host without it, open answers unsupported with feature = "dock-bottom-v1" and opens nothing, so a plugin can draw in an ordinary Neovim window instead. (#18)
  • Dock sizes: dragging a dock's edge reports dock_size with a width for a side dock and a height for a bottom dock; the README now says so.

Compatibility

Bottom docks need Sprite 0.9.0 or later. Side docks work as before. After upgrading Sprite, run :Lazy update sprite.nvim and restart Neovim.

Validation

The test suite (20,932 checks) and the protocol check against Sprite's fixture passed in CI on the tagged commit.

Compare: v0.7.0...v0.8.0

sprite.nvim v0.7.0

Choose a tag to compare

@HundredBillion HundredBillion released this 17 Nov 19:05
852f33b

sprite.nvim v0.7.0 sends a list to Sprite in a fraction of the time, and sends only the rows that changed.

  • Only changed rows are sent: dock:rows() still takes the whole list, but a host that lists virtual-list-patch-v1 is now sent just the rows that differ from the last list. Changing one row of a 2,029-row list sends about 300 bytes where it sent 1 MB. A plugin calls rows the same way either way. (#17)
  • reuse_rows: a dock opened with reuse_rows = true remembers each row table's text, so a plugin that passes the same table again for an unchanged row pays only for the rows that changed. It is a promise not to change a row table in place after passing it; see the README. (#17)
  • Faster requests: a quicker JSON encoder, a larger socket send buffer, and two fewer turns of the event loop per request. (#17)
  • Malformed text is refused, not fatal: a request holding malformed UTF-8, such as a file name in an old encoding, is refused with a protocol error and the Surface stays open. Before, some of it reached the host, which ends the connection. (#17)

Changing one row of a list, from dock:rows() to its callback, in a real Neovim in a Sprite pane:

List v0.6.0 v0.7.0 v0.7.0 with reuse_rows
2,029 rows 28 ms 5.3 ms 0.7 ms
20,290 rows not measured 32.6 ms 2.7 ms

Breaking: Neovim 0.12 or later is now required. On an older Neovim, require("sprite") raises "sprite.nvim needs Neovim 0.12 or later". A string holding a NUL byte is now sent as a string, not a list of numbers.

Compatibility

Sending only changed rows needs Sprite 0.8.0 or later. With an older Sprite every list is sent whole, as before, and nothing else changes. This is a source release with no compiled component.

Validation

CI passed on the tagged commit on Linux and macOS with Neovim stable and nightly, with formatting and the protocol check against Sprite's committed fixture.

Compare: v0.6.0...v0.7.0

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.

sprite.nvim v0.5.0

Choose a tag to compare

@HundredBillion HundredBillion released this 02 Nov 15:51
d1cb10e

Changes

  • Works with Sprite 0.6.0: the adapter passes SPRITE_PANE, now the pane's address <window>:<pane>, to Sprite unchanged instead of reading it as a number. With Sprite 0.6.0 and sprite.nvim 0.4.0, every session fell back to plain Neovim and lost its native Surfaces: file icons, tabs, footer and Follow. (#13)
  • Native Follow control: the footer shows the editor's Follow state, and clicking the native control toggles it. (#10)
  • Responsive footer during rapid movement: footer refreshes are combined over 8 ms, so fast cursor movement asks Neovim for fewer snapshots. (#12)

Breaking: this release needs Sprite 0.6.0 or later. An older Sprite refuses the Surface, and the editor falls back to plain Neovim. The plugin supports Neovim 0.11 or later. This is a source release with no compiled component.

Validation

  • CI on the release commit passed on Linux and macOS with Neovim 0.11.0, stable and nightly, and formatting passed. The macOS 0.11.0 job's test-socket connection was refused on the first attempt (ECONNREFUSED in input_bridge_spec) and passed on retry.
  • Locally, all 26 specs passed. scripts/test-protocol.sh passed against Sprite 0.6.0's committed fixture.
  • With the old tonumber(SPRITE_PANE) restored, session_integration_spec failed 4 checks, including "adapter opens Sprite pane zero", so the tests guard the fix.

Compare: v0.4.0...v0.5.0

sprite.nvim v0.4.0

Choose a tag to compare

@HundredBillion HundredBillion released this 20 Oct 01:51
c391130

Changes

  • Native Markdown preview transport and validated source/preview/focus actions, retaining the editor's original file buffer.
  • Native minimap support with bounded source transactions, selection restoration, processed action acknowledgments, and responsive input ordering.
  • Full-width global statuslines beside the minimap and buffer-tab drag reordering.
  • Provider recovery and shutdown cleanup, stale action rejection, and source editing fallback on older hosts.

Use Sprite 0.3.0 and VSVim 0.2.0 for the complete native reading and editing experience. The plugin supports Neovim 0.11 or later; VSVim requires Neovim 0.13 nightly. This is a source release with no compiled component.

Validation

  • 20,800 local checks passed using the current VSVim provider.
  • CI passed on Linux and macOS with Neovim 0.11.0, stable, and nightly; formatting passed. The macOS nightly test-socket connection failed on the first attempt and passed on retry.
  • Real VSVim launcher/adapter/provider integration passed all 3 tests, covering one-buffer preview/source/save/undo behavior, split focus/rename, and older-host fallback.

Compare: v0.3.0...v0.4.0

sprite.nvim v0.3.0

Choose a tag to compare

@HundredBillion HundredBillion released this 18 Oct 19:37
21c96d6

Changes

  • Native file tabs with buffer selection, safe close callbacks, SVG icons, modified markers, and bounded updates.
  • Callable highlight metadata for definition-pointer feedback and native UI typography for popup headings.
  • Avoid redundant native tab snapshots while typing and duplicate capability discovery before opening docks.
  • Preserve ordinary Neovim rendering on older Sprite hosts and outside Sprite.

Use Sprite 0.2.8 for the complete native presentation. Neovim 0.11 or later is supported by the plugin; VSVim uses Neovim 0.13 nightly.

Validation

20,506 standalone checks passed, plus the Sprite protocol fixture integration. This is a source release; no compiled component is required.

sprite.nvim 0.2.0

Choose a tag to compare

@HundredBillion HundredBillion released this 19 Sep 15:05
05adda8

sprite.nvim 0.2.0 adds the Lua plugin API used by native Explorer panels.

  • Plugins can discover Sprite capabilities and open owned native Surfaces with virtual lists, reusable SVG assets, and editor focus controls.
  • Surface requests and callbacks now handle cancellation, timeouts, lifecycle changes, and large identifiers safely.
  • The existing sprite-nvim editor adapter continues to run Neovim in Sprite's grid Surface with terminal fallback.

CI passed on Linux and macOS with Neovim 0.11, stable, and nightly before this tag.

sprite.nvim 0.1.0

Choose a tag to compare

@HundredBillion HundredBillion released this 11 Sep 15:48
e4b272d

sprite.nvim 0.1.0 — the editor adapter.

Type sprite-nvim in a Sprite pane (0.1.6+) and Neovim is drawn by Sprite through a native grid Surface: real font rendering, the theme's colours by highlight group, the mouse in cells, paste and input methods. In any other terminal, or when Sprite refuses, the same command is plain Neovim with the same arguments and exit code. It runs the Neovim you already have (0.11+) and compiles nothing.

How it works. A Lua adapter run by nvim -l spawns a second nvim --embed, attaches as its user interface over msgpack-RPC, forwards Neovim's ext_linegrid redraw stream to Sprite as grid-op batches, and forwards Sprite's keystrokes, mouse, and paste back. Sprite paints; the adapter never does.

Tested. 71-check suite: the pure translators, the RPC streaming decode, and an integration test that drives a real embedded Neovim through a fake Sprite. CI runs it on Linux and macOS across Neovim 0.11, stable, and nightly. The 200x60 repaint speed gate measures ~1.2 ms against a 10 ms budget.

This is the first of the repository's three planned pieces; the plugin API and the distribution follow.