Skip to content

Commit

Permalink
fix broken php checker
Browse files Browse the repository at this point in the history
  • Loading branch information
marty committed Jul 27, 2010
1 parent 0de9db8 commit 7ed5105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax_checkers/php.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7ed5105

Please sign in to comment.