summaryrefslogtreecommitdiff
path: root/gvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'gvimrc')
-rw-r--r--gvimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gvimrc b/gvimrc
index cb76be3..798cc5c 100644
--- a/gvimrc
+++ b/gvimrc
@@ -30,6 +30,7 @@ map <F3> :call GitDiffDir()<CR><CR>
map <C-S-F3> :call GitDiffCDir()<CR><CR>
set diffexpr=MyDiff()
map <S-F3> :VCSVimDiff<CR>
+au FileType html setlocal equalprg=tidy\ -qi\ w\ 200\ --tidy-mark\ false
au FileType xml,xslt setlocal equalprg=xmllint\ --format\ --recover\ -
au FileType json setlocal equalprg=python\ -m\ json.tool
au FileType c,cpp,h map <F4> :A<CR>