view runtime/compiler/xmllint.vim @ 22171:d4c7b3e9cd17

Update runtime files. Commit: https://github.com/vim/vim/commit/1c6737b20a5cf71751b180461cea22fc76d8870c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 7 22:18:52 2020 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Sep 2020 22:30:04 +0200
parents f7add3891e95
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Libxml2 Command-Line Tool
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Jul 30

if exists("current_compiler")
  finish
endif
let current_compiler = "xmllint"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=xmllint\ --valid\ --noout
CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m,
		       \%W%f:%l:\ %.%#\ warning\ :\ %m,
		       \%-Z%p^,
		       \%C%.%#,
		       \%terror:\ %m,
		       \%tarning:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save