0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/compiler/xmllint.vim

27 lines
561 B
VimL
Raw Normal View History

2004-06-13 20:20:40 +00:00
" Vim compiler file
" Compiler: xmllint
2013-06-12 21:29:15 +02:00
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jul 8
2004-06-13 20:20:40 +00:00
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-=C
CompilerSet makeprg=xmllint\ --valid\ --noout
2004-06-13 20:20:40 +00:00
2013-06-12 21:29:15 +02:00
CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m,
\%+W%f:%l:\ %.%#\ warning\ :\ %m,
2004-06-13 20:20:40 +00:00
\%-Z%p^,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save