view runtime/compiler/xmllint.vim @ 34638:857eb73fb6a7

NSIS: Redesigning the appearance of the vimrc settings page (#14292) Commit: https://github.com/vim/vim/commit/6dcf59b89fd4a65df4a68a333a66357c2480d7b0 Author: Restorer <69863286+RestorerZ@users.noreply.github.com> Date: Mon Mar 25 15:38:37 2024 +0000 NSIS: Redesigning the appearance of the vimrc settings page (https://github.com/vim/vim/issues/14292) Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:45:05 +0100
parents d4c7b3e9cd17
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