diff options
| author | skewb1k <skewb1kunix@gmail.com> | 2025-09-08 00:38:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-07 14:38:27 -0700 |
| commit | 448f15ca396aa7007eb2c5cb82dd2ea6c5c82953 (patch) | |
| tree | 3c2a6409a72515457eb17b0818fd6bbc61af9967 /runtime/syntax/python.vim | |
| parent | 2b156be19c9095582c9d02019e8580f4244141d6 (diff) | |
feat(json): pretty-format (indent) with vim.json.encode() #35424
Problem:
There is no straightforward way to pretty-print objects as JSON.
The existing `vim.inspect` outputs LON.
Solution:
Introduce an `indent` option for `vim.json.encode()` which enables
human-readable output with configurable indentation.
Adapts PR to upstream: openresty/lua-cjson#114
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions
