Files
dotfiles/vim/.vim/compiler/xmllint.vim
T
roodletoof 752cde27f2 remove current_compiler check.
that check is for the standard implementations, not mine
2026-09-29 19:00:35 +02:00

22 lines
489 B
VimL

" Vim compiler file
" Compiler: Libxml2 Command-Line Tool
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
let current_compiler = "xmllint"
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