Editing · beta · Neovim 0.9+ · 85 commits
data.nvim
Format and filter structured data (JSON, YAML, XML) in place, in the buffer or a visual selection — pretty, compact (JSON/XML), lines to flatten nested keys onto one path: value per line, keys for just the paths.
demos/data.tape in a clean Neovim — re-recorded weekly
what is shown when
- :JSON - pretty-print in place
- :JSON sort - sorted keys
- :JSON lines - one path per leaf
- :JSON to yaml
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/data.nvim",
opts = {},
} Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
Documentation
Recent commits
- test sheets: the question over the --preview diff survives a focus change, Esc discards
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/data-nvim
- test a test dependency that fails to load is red, not zero cases (NEW-43)
- test sheets: the feature catalog, and the sheets name their feature
- chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
- test preview: a dialog that replaces the question discards and closes the preview
- preview a focus change over the diff preview no longer discards