diff --git a/syntax_checkers/docbk.vim b/syntax_checkers/docbk.vim index a3ad7442..b0a9f919 100644 --- a/syntax_checkers/docbk.vim +++ b/syntax_checkers/docbk.vim @@ -17,7 +17,7 @@ endif 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 loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })