Format JSON file in vim
This commit is contained in:
parent
a8f3b5cc6b
commit
d553c825d9
9
source/_notes/17.md
Normal file
9
source/_notes/17.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "Format JSON file in vim"
|
||||||
|
date: 2024-08-27 20:21:17
|
||||||
|
tags: [Vim, Neovim, JSON, jq]
|
||||||
|
links:
|
||||||
|
- https://vi.stackexchange.com/a/19950
|
||||||
|
---
|
||||||
|
|
||||||
|
Use `:%!jq` to format/beautify a JSON file within vim using `jq`.
|
Loading…
Reference in a new issue