1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-12-20 18:31:20 +00:00

Add command to format JSON files

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-07-18 10:22:35 +02:00
parent 0623f11094
commit 2c21b40ad1
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

6
vimrc
View file

@ -1007,3 +1007,9 @@ let g:go_autodetect_gopath = 0
" "
au BufWritePre *.py,*.js :Autoformat au BufWritePre *.py,*.js :Autoformat
"
" Custom commands
"
command -range=% JF :<line1>,<line2>!jq .