annotate runtime/compiler/xmllint.vim @ 1916:70a5e723eea2 v7.2.213

updated for version 7.2-213
author vimboss
date Wed, 24 Jun 2009 14:50:12 +0000
parents 125e80798a85
children a5352e73dc00
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: xmllint
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
3 " Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
4 " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/xmllint.vim
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
5 " Last Change: 2004 Nov 27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 let current_compiler = "xmllint"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 let s:cpo_save = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 CompilerSet makeprg=xmllint\ --valid\ --noout\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 CompilerSet errorformat=%E%f:%l:\ error:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 \%W%f:%l:\ warning:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 \%E%f:%l:\ validity\ error:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 \%W%f:%l:\ validity\ warning:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 \%-Z%p^,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 \%-G%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 unlet s:cpo_save