Skip to content

v1.2.0 - Data preview

Choose a tag to compare

@propilideno propilideno released this 26 Apr 15:56
be4bbbe

Overview

Open a SQLite database inside Neovim and you get an interactive SQL workspace. Read-only result on top, editable SQL on the bottom. Save the buffer to run the query against the database.

The plugin is also reorganized into per-feature layers, so installing buffer-preview no longer drags every dependency along. Want SQL previews? You only need sqlite3. Want PDF previews? You only need the image stack. Same plugin, smaller footprint per feature.

SQLite workspace

What's new

SQLite support and new data viewer without image layer requirements (#3 by @propilideno)

  • SQLite preview. Two-buffer workspace: read-only result on top, editable SQL on bottom. The schema shows up automatically when you open the file. Save the buffer (:w) to run the query.
  • Layout follows focus. Cycle to a foreign buffer and the workspace collapses to a single window. Cycle back and the split returns. Close one workspace buffer and both go away.
  • Decoupled layers. image/ and data/ are independent now. Each requires its own dependencies; you only install the ones you actually use.

PDF and presentation preview behavior is unchanged.

Full Changelog: v1.1.0...v1.2.0