aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrian5 <adrian5@users.noreply.github.com>2020-11-22 22:36:17 +0100
committeradrian5 <adrian5@users.noreply.github.com>2020-11-22 22:36:17 +0100
commitfad90537c29e99ef7847b4f5e6be427c5689992d (patch)
tree0e3073884cf82621ea3d73a0969c7d8c5db7c8ef
parentfc0f57228da68cae7680c5941d786b3997010283 (diff)
downloadrneovim-fad90537c29e99ef7847b4f5e6be427c5689992d.tar.gz
rneovim-fad90537c29e99ef7847b4f5e6be427c5689992d.tar.bz2
rneovim-fad90537c29e99ef7847b4f5e6be427c5689992d.zip
xmllint.vim: patch runtime/compiler to 1c6737b20a5
vim/vim@1c6737b20a5cf71751b180461cea22fc76d8870c
-rw-r--r--runtime/compiler/xmllint.vim18
1 files changed, 10 insertions, 8 deletions
diff --git a/runtime/compiler/xmllint.vim b/runtime/compiler/xmllint.vim
index 96cfa55383..79d38b4d14 100644
--- a/runtime/compiler/xmllint.vim
+++ b/runtime/compiler/xmllint.vim
@@ -1,7 +1,7 @@
" Vim compiler file
-" Compiler: xmllint
+" Compiler: Libxml2 Command-Line Tool
" Maintainer: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2013 Jul 8
+" Last Change: 2020 Jul 30
if exists("current_compiler")
finish
@@ -13,14 +13,16 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
endif
let s:cpo_save = &cpo
-set cpo-=C
+set cpo&vim
CompilerSet makeprg=xmllint\ --valid\ --noout
-
-CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m,
- \%+W%f:%l:\ %.%#\ warning\ :\ %m,
- \%-Z%p^,
- \%-G%.%#
+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