From 45f54370887b8bd2fb8f4eb15690bbbb38516ab7 Mon Sep 17 00:00:00 2001 From: Juan Grande Date: Thu, 29 Nov 2012 09:07:25 -0300 Subject: [PATCH] docbook checker: added quotes to args in expand() call --- syntax_checkers/docbk.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/docbk.vim b/syntax_checkers/docbk.vim index cd360e4a..f5a6b6a7 100644 --- a/syntax_checkers/docbk.vim +++ b/syntax_checkers/docbk.vim @@ -21,7 +21,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 })