1" Vim compiler file 2" Compiler: Libxml2 Command-Line Tool 3" Maintainer: Doug Kearns <[email protected]> 4" Last Change: 2020 Jul 30 5 6if exists("current_compiler") 7 finish 8endif 9let current_compiler = "xmllint" 10 11if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 command -nargs=* CompilerSet setlocal <args> 13endif 14 15let s:cpo_save = &cpo 16set cpo&vim 17 18CompilerSet makeprg=xmllint\ --valid\ --noout 19CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m, 20 \%W%f:%l:\ %.%#\ warning\ :\ %m, 21 \%-Z%p^, 22 \%C%.%#, 23 \%terror:\ %m, 24 \%tarning:\ %m, 25 \%-G%.%# 26 27let &cpo = s:cpo_save 28unlet s:cpo_save 29