docbook checker: added quotes to args in expand() call
This commit is contained in:
parent
122e88b82a
commit
45f5437088
@ -21,7 +21,7 @@ endif
|
|||||||
|
|
||||||
function! SyntaxCheckers_docbk_GetLocList()
|
function! SyntaxCheckers_docbk_GetLocList()
|
||||||
|
|
||||||
let makeprg="xmllint --xinclude --noout --postvalid ".shellescape(expand(%:p))
|
let makeprg="xmllint --xinclude --noout --postvalid ".shellescape(expand("%:p"))
|
||||||
let errorformat='%E%f:%l: parser error : %m,%W%f:%l: parser warning : %m,%E%f:%l:%.%# validity error : %m,%W%f:%l:%.%# validity warning : %m,%-Z%p^,%-C%.%#,%-G%.%#'
|
let errorformat='%E%f:%l: parser error : %m,%W%f:%l: parser warning : %m,%E%f:%l:%.%# validity error : %m,%W%f:%l:%.%# validity warning : %m,%-Z%p^,%-C%.%#,%-G%.%#'
|
||||||
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user