2014-07-10 21:05:51 -07:00
|
|
|
" Vim compiler file
|
2020-11-22 14:36:17 -07:00
|
|
|
" Compiler: Libxml2 Command-Line Tool
|
2014-07-10 21:05:51 -07:00
|
|
|
" 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 = "xmllint"
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
2020-11-22 14:36:17 -07:00
|
|
|
set cpo&vim
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
CompilerSet makeprg=xmllint\ --valid\ --noout
|
2020-11-22 14:36:17 -07:00
|
|
|
CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m,
|
|
|
|
\%W%f:%l:\ %.%#\ warning\ :\ %m,
|
|
|
|
\%-Z%p^,
|
|
|
|
\%C%.%#,
|
|
|
|
\%terror:\ %m,
|
|
|
|
\%tarning:\ %m,
|
|
|
|
\%-G%.%#
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|