3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
4 " Last Change: 2013 Jul 7
6 if exists("current_compiler")
9 let current_compiler = "tidy"
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
12 command -nargs=* CompilerSet setlocal <args>
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%.%#