From be01caceb3ff3580c070a2ed9f7cbdfb1f497ae1 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 9 Jan 2015 23:13:51 +0200 Subject: [PATCH] Phpcs: fix column handling. Reference: http://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php#package.php.php-codesniffer.config-options.php-codesniffer.tab-width --- syntax_checkers/php/phpcs.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/syntax_checkers/php/phpcs.vim b/syntax_checkers/php/phpcs.vim index e53e98e7..90202be9 100644 --- a/syntax_checkers/php/phpcs.vim +++ b/syntax_checkers/php/phpcs.vim @@ -19,13 +19,11 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_php_phpcs_GetLocList() dict - let makeprg = self.makeprgBuild({ - \ 'args': '--tab-width=' . &tabstop, - \ 'args_after': '--report=csv' }) + let makeprg = self.makeprgBuild({ 'args_after': '--report=csv' }) let errorformat = \ '%-GFile\,Line\,Column\,Type\,Message\,Source\,Severity%.%#,'. - \ '"%f"\,%l\,%v\,%t%*[a-zA-Z]\,"%m"\,%*[a-zA-Z0-9_.-]\,%*[0-9]%.%#' + \ '"%f"\,%l\,%c\,%t%*[a-zA-Z]\,"%m"\,%*[a-zA-Z0-9_.-]\,%*[0-9]%.%#' return SyntasticMake({ \ 'makeprg': makeprg,