Editing · beta · Neovim 0.9+ · 44 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
Install
{
"StefanBartl/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
- docs fix DEAD commands.md link (duplicated docs/ prefix)
- docs link back to the wkd family site
- ci bump leafo/gh-actions-lua and gh-actions-luarocks off Node 20
- ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
- ci bump the failure-log upload to actions/upload-artifact@v7 (Node 24)
- ci add job timeouts, failure log artifacts, swap/shada-free nvim runs, pinned deps
- fix filter: detect a content change during the preview confirm dialog
- fix config: deep-copy setup()'s merge result, not just the load-time default