From 562a37adceeba8e41db9b725155ace50b8e811b8 Mon Sep 17 00:00:00 2001 From: Bill Casarin Date: Sat, 1 Dec 2012 21:07:51 -0500 Subject: [PATCH] Support zero or more spaces at the end of a filename in the typescript errorformat --- syntax_checkers/typescript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/typescript.vim b/syntax_checkers/typescript.vim index 6a937bd2..3c8aa8b1 100644 --- a/syntax_checkers/typescript.vim +++ b/syntax_checkers/typescript.vim @@ -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