comparison runtime/compiler/xmllint.vim @ 7:3fc0f57ecb91 v7.0001

updated for version 7.0001
author vimboss
date Sun, 13 Jun 2004 20:20:40 +0000
parents
children 125e80798a85
comparison
equal deleted inserted replaced
6:c2daee826b8f 7:3fc0f57ecb91
1 " Vim compiler file
2 " Compiler: xmllint
3 " Maintainer: Doug Kearns <djkea2@mugca.its.monash.edu.au>
4 " URL: http://mugca.its.monash.edu.au/~djkea2/vim/compiler/xmllint.vim
5 " Last Change: 2004 Mar 27
6
7 if exists("current_compiler")
8 finish
9 endif
10 let current_compiler = "xmllint"
11
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
13 command -nargs=* CompilerSet setlocal <args>
14 endif
15
16 let s:cpo_save = &cpo
17 set cpo-=C
18
19 CompilerSet makeprg=xmllint\ --valid\ --noout\
20
21 CompilerSet 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
28 let &cpo = s:cpo_save
29 unlet s:cpo_save