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.
- status
- beta — 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.
- category
- Editing
- neovim
- 0.9+
- repo
- github.com/WKDSteve/data.nvim
- commits
- 85
- help
- :help data
demo
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
install
{
"WKDSteve/data.nvim",
opts = {},
} docs/
- BINDINGS.md
- CONTRIBUTING.md
- README.md
- architecture.md
- commands.md
- configuration.md
- health.md
- installation.md
- integrations.md
- quickstart.md
- requirements.md
- scope.md
- what-you-get.md
git log
- 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
- test sheets: the :XML range step checks the line it acts on; no-match waits for its warning
- test sheets: filter --preview of :YAML, :XML and :Data, and a range on bare :Data
- test sheets: :JSON, :YAML, :XML and :Data as typed, every action of the bindings checklist
- fix infer: keep a field optional when merged schemas are merged again; infinity is a number