tidy.vim (490B)
1 " Vim compiler file 2 " Compiler: HTML Tidy 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> 4 " Last Change: 2024 Apr 03 5 6 if exists("current_compiler") 7 finish 8 endif 9 let current_compiler = "tidy" 10 11 let s:cpo_save = &cpo 12 set cpo&vim 13 14 CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes 15 CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m, 16 \%f:%l:%c:\ %tarning:\ %m, 17 \%f:%l:%c:\ %tnfo:\ %m, 18 \%f:%l:%c:\ %m, 19 \%-G%.%# 20 21 let &cpo = s:cpo_save 22 unlet s:cpo_save