From 7ed510560e5738be323ad675f960074b22594690 Mon Sep 17 00:00:00 2001 From: marty Date: Wed, 14 Jul 2010 16:24:59 +1200 Subject: [PATCH] fix broken php checker --- syntax_checkers/php.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/php.vim b/syntax_checkers/php.vim index 0a595b792..962d3bd78 100644 --- a/syntax_checkers/php.vim +++ b/syntax_checkers/php.vim @@ -21,6 +21,6 @@ endif function! SyntaxCheckers_php_GetLocList() let makeprg = "php -l %" - let errorformat='%-GNo syntax errors detected in%.%#,%-GErrors parsing %.%#,%-G\s%#,%EParse error: syntax error\, %m in %f on line %l' + let errorformat='%-GNo syntax errors detected in%.%#,PHP Parse error: %#syntax %trror\, %m in %f on line %l,%-GErrors parsing %.%#,%-G\s%#' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) endfunction