1
0
mirror of https://github.com/luzifer/vim.git synced 2024-09-18 18:42:55 +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
"
" Custom commands
"
command -range=% JF :<line1>,<line2>!jq .