From 2c21b40ad148891aaec4767e72a7a6dc782be4e7 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 18 Jul 2017 10:22:35 +0200 Subject: [PATCH] Add command to format JSON files Signed-off-by: Knut Ahlers --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index 5474d34..3745de7 100644 --- a/vimrc +++ b/vimrc @@ -1007,3 +1007,9 @@ let g:go_autodetect_gopath = 0 " au BufWritePre *.py,*.js :Autoformat + +" +" Custom commands +" + +command -range=% JF :,!jq .