From ca38e39643b8e6ac79b7a8d3d79ab962a968d4fb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 18 Jan 2019 18:20:04 +0000 Subject: tidy html formatter --- gvimrc | 1 + 1 file changed, 1 insertion(+) (limited to 'gvimrc') diff --git a/gvimrc b/gvimrc index cb76be3..798cc5c 100644 --- a/gvimrc +++ b/gvimrc @@ -30,6 +30,7 @@ map :call GitDiffDir() map :call GitDiffCDir() set diffexpr=MyDiff() map :VCSVimDiff +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 :A -- cgit v1.2.3