From 9312c714855fda1b6d4fa9144212442814674626 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 4 Nov 2017 16:45:59 +0000 Subject: equalprg for json --- gvimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gvimrc') diff --git a/gvimrc b/gvimrc index d0599b0..8cc6e8e 100644 --- a/gvimrc +++ b/gvimrc @@ -27,7 +27,7 @@ map :call GitDiffCDir() set diffexpr=MyDiff() map :VCSVimDiff au FileType xml,xslt setlocal equalprg=xmllint\ --format\ --recover\ - -au FileType javascript setlocal equalprg=python\ -m\ json.tool +au FileType json setlocal equalprg=python\ -m\ json.tool au FileType cpp,h map :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, au FileType cpp,h map :sp %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, au FileType c,cpp,jam,h,slice map :wa:set makeprg=b2\ -qj3:mak -- cgit v1.2.3