diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-18 18:20:04 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-18 18:20:04 +0000 |
commit | ca38e39643b8e6ac79b7a8d3d79ab962a968d4fb (patch) | |
tree | c76745bbcee2831e26135567b63f280aa536794c | |
parent | Plugin header switcher (diff) | |
download | util-ca38e39643b8e6ac79b7a8d3d79ab962a968d4fb.tar.bz2 util-ca38e39643b8e6ac79b7a8d3d79ab962a968d4fb.tar.xz util-ca38e39643b8e6ac79b7a8d3d79ab962a968d4fb.zip |
tidy html formatter
-rw-r--r-- | gvimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> |