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
This commit is contained in:
parent
a18ccb40df
commit
be01caceb3
@ -19,13 +19,11 @@ let s:save_cpo = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
function! SyntaxCheckers_php_phpcs_GetLocList() dict
|
function! SyntaxCheckers_php_phpcs_GetLocList() dict
|
||||||
let makeprg = self.makeprgBuild({
|
let makeprg = self.makeprgBuild({ 'args_after': '--report=csv' })
|
||||||
\ 'args': '--tab-width=' . &tabstop,
|
|
||||||
\ 'args_after': '--report=csv' })
|
|
||||||
|
|
||||||
let errorformat =
|
let errorformat =
|
||||||
\ '%-GFile\,Line\,Column\,Type\,Message\,Source\,Severity%.%#,'.
|
\ '%-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({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user