2014-07-10 21:05:51 -07:00
|
|
|
" Vim compiler file
|
|
|
|
" Compiler: HTML Tidy
|
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2024-04-04 14:49:21 -07:00
|
|
|
" Last Change: 2024 Apr 03
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "tidy"
|
|
|
|
|
2021-05-01 20:05:15 -07:00
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
2014-07-10 21:05:51 -07:00
|
|
|
|
2021-05-01 20:05:15 -07:00
|
|
|
CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes
|
|
|
|
CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m,
|
|
|
|
\%f:%l:%c:\ %tarning:\ %m,
|
|
|
|
\%f:%l:%c:\ %tnfo:\ %m,
|
|
|
|
\%f:%l:%c:\ %m,
|
|
|
|
\%-G%.%#
|
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|