Install vim74
[msysgit.git] / share / vim / vim74 / compiler / tidy.vim
blob56baee2224238590cbf7bd7f8fe6e0eb63e5351c
1 " Vim compiler file
2 " Compiler:     HTML Tidy
3 " Maintainer:   Doug Kearns <dougkearns@gmail.com>
4 " Last Change:  2013 Jul 7
6 if exists("current_compiler")
7   finish
8 endif
9 let current_compiler = "tidy"
11 if exists(":CompilerSet") != 2          " older Vim always used :setlocal
12   command -nargs=* CompilerSet setlocal <args>
13 endif
15 CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %
17 " sample warning: foo.html:8:1: Warning: inserting missing 'foobar' element
18 " sample error:   foo.html:9:2: Error: <foobar> is not recognized!
19 CompilerSet errorformat=%f:%l:%c:\ Error:%m,%f:%l:%c:\ Warning:%m,%-G%.%#