1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-23 02:05:11 +01:00
vim/runtime/compiler/xmllint.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
534 B
VimL
Raw Permalink Normal View History

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>
" 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
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