Merge pull request #142 from darcyparker/18834a35877b756049b0c241de750d8e17f0eff0
A cleaner fix for wrapping makeprg's arguments that have spaces.
This commit is contained in:
commit
469e4efd0a
@ -62,7 +62,7 @@ endfunction
|
|||||||
function! SyntaxCheckers_html_GetLocList()
|
function! SyntaxCheckers_html_GetLocList()
|
||||||
|
|
||||||
let encopt = s:TidyEncOptByFenc()
|
let encopt = s:TidyEncOptByFenc()
|
||||||
let makeprg="tidy ".encopt." --new-blocklevel-tags 'section, article, aside, hgroup, header, footer, nav, figure, figcaption' --new-inline-tags 'video, audio, embed, mark, progress, meter, time, ruby, rt, rp, canvas, command, details, datalist' --new-empty-tags 'wbr, keygen' -e ".shellescape(expand('%'))." 2>&1"
|
let makeprg="tidy ".encopt." --new-blocklevel-tags ".shellescape('section, article, aside, hgroup, header, footer, nav, figure, figcaption')." --new-inline-tags ".shellescape('video, audio, embed, mark, progress, meter, time, ruby, rt, rp, canvas, command, details, datalist')." --new-empty-tags ".shellescape('wbr, keygen')." -e ".shellescape(expand('%'))." 2>&1"
|
||||||
let errorformat='%Wline %l column %c - Warning: %m,%Eline %l column %c - Error: %m,%-G%.%#,%-G%.%#'
|
let errorformat='%Wline %l column %c - Warning: %m,%Eline %l column %c - Error: %m,%-G%.%#,%-G%.%#'
|
||||||
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user