blob: 8fde4e10f1f222562387cef3845e4ccc1a55670d [file] [log] [blame]
Abaakouk Mehdi5fb87e72010-07-21 12:51:38 +02001" Vim compiler file
2" Compiler: xmllint
3" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
4" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/xmllint.vim
5" Last Change: 2004 Nov 27
6
7if exists("current_compiler")
8 finish
9endif
10let current_compiler = "xmllint"
11
12if exists(":CompilerSet") != 2 " older Vim always used :setlocal
13 command -nargs=* CompilerSet setlocal <args>
14endif
15
16let s:cpo_save = &cpo
17set cpo-=C
18
19CompilerSet makeprg=xmllint\ --valid\ --noout\
20
21CompilerSet errorformat=%E%f:%l:\ error:\ %m,
22 \%W%f:%l:\ warning:\ %m,
23 \%E%f:%l:\ validity\ error:\ %m,
24 \%W%f:%l:\ validity\ warning:\ %m,
25 \%-Z%p^,
26 \%-G%.%#
27
28let &cpo = s:cpo_save
29unlet s:cpo_save