summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-11-04 16:45:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-11-04 16:45:59 +0000
commit9312c714855fda1b6d4fa9144212442814674626 (patch)
treef72373149bf23d5614c36515fe9b56ca30150c48
parentPython3 for ycm (diff)
downloadutil-9312c714855fda1b6d4fa9144212442814674626.tar.bz2
util-9312c714855fda1b6d4fa9144212442814674626.tar.xz
util-9312c714855fda1b6d4fa9144212442814674626.zip
equalprg for json
-rw-r--r--gvimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gvimrc b/gvimrc
index d0599b0..8cc6e8e 100644
--- a/gvimrc
+++ b/gvimrc
@@ -27,7 +27,7 @@ map <C-S-F3> :call GitDiffCDir()<CR><CR>
set diffexpr=MyDiff()
map <S-F3> :VCSVimDiff<CR>
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 <F4> :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR>
au FileType cpp,h map <S-F4> :sp %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR>
au FileType c,cpp,jam,h,slice map <F5> :wa<CR>:set makeprg=b2\ -qj3<CR>:mak<CR>