2004-06-13 20:20:40 +00:00
|
|
|
" Vim compiler file
|
2020-09-07 22:18:52 +02:00
|
|
|
" Compiler: Libxml2 Command-Line Tool
|
2013-06-12 21:29:15 +02:00
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2024-04-04 22:00:58 +02:00
|
|
|
" Last Change: 2024 Apr 03
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "xmllint"
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
2020-09-07 22:18:52 +02:00
|
|
|
set cpo&vim
|
2004-06-13 20:20:40 +00:00
|
|
|
|
2013-07-09 15:44:17 +02:00
|
|
|
CompilerSet makeprg=xmllint\ --valid\ --noout
|
2020-09-07 22:18:52 +02:00
|
|
|
CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m,
|
|
|
|
\%W%f:%l:\ %.%#\ warning\ :\ %m,
|
|
|
|
\%-Z%p^,
|
|
|
|
\%C%.%#,
|
|
|
|
\%terror:\ %m,
|
|
|
|
\%tarning:\ %m,
|
|
|
|
\%-G%.%#
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|