Support zero or more spaces at the end of a filename in the typescript errorformat

This commit is contained in:
Bill Casarin 2012-12-01 21:07:51 -05:00
parent 7ceba36412
commit 562a37adce

View File

@ -15,6 +15,6 @@ endif
function! SyntaxCheckers_typescript_GetLocList()
let makeprg = 'tsc ' . shellescape(expand("%")) . ' --out ' . syntastic#util#DevNull()
let errorformat = '%f(%l\,%c): %m'
let errorformat = '%f\ %#(%l\,%c): %m'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction