mirror of
https://github.com/amix/vimrc
synced 2025-07-21 20:05:00 +08:00
merge
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_xml_plutil_checker")
|
||||
if exists('g:loaded_syntastic_xml_plutil_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_xml_plutil_checker = 1
|
||||
@ -39,4 +39,4 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
" vim: set et sts=4 sw=4:
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
||||
|
@ -10,7 +10,7 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_xml_xmllint_checker")
|
||||
if exists('g:loaded_syntastic_xml_xmllint_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_xml_xmllint_checker = 1
|
||||
@ -23,7 +23,9 @@ set cpo&vim
|
||||
" and http://www.xmlsoft.org/catalog.html for more information.
|
||||
|
||||
function! SyntaxCheckers_xml_xmllint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '--xinclude --noout --postvalid' })
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args': '--xinclude --postvalid',
|
||||
\ 'args_after': '--noout' })
|
||||
|
||||
let errorformat=
|
||||
\ '%E%f:%l: error : %m,' .
|
||||
@ -49,4 +51,4 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
" vim: set et sts=4 sw=4:
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
||||
|
Reference in New Issue
Block a user