mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
@@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: xmllint
|
" Compiler: Libxml2 Command-Line Tool
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2013 Jul 8
|
" Last Change: 2020 Jul 30
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -13,14 +13,16 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo-=C
|
set cpo&vim
|
||||||
|
|
||||||
CompilerSet makeprg=xmllint\ --valid\ --noout
|
CompilerSet makeprg=xmllint\ --valid\ --noout
|
||||||
|
CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m,
|
||||||
CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m,
|
\%W%f:%l:\ %.%#\ warning\ :\ %m,
|
||||||
\%+W%f:%l:\ %.%#\ warning\ :\ %m,
|
\%-Z%p^,
|
||||||
\%-Z%p^,
|
\%C%.%#,
|
||||||
\%-G%.%#
|
\%terror:\ %m,
|
||||||
|
\%tarning:\ %m,
|
||||||
|
\%-G%.%#
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|||||||
Reference in New Issue
Block a user