Browse files

Use Drupals coding standards with Syntastic.

  • Loading branch information...
1 parent c02fbaf commit b41204e3483441bb023b9d9e10710cedc9f5c8c2 @mikl committed Apr 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 vimrc
1 vimrc
@@ -184,6 +184,7 @@ let g:snips_author = 'Mikkel Hoegh' " SnipMate full name.
let g:syntastic_auto_loc_list=1
let g:syntastic_enable_signs=1 " Enable markers on the line containing a problem.
let g:syntastic_auto_jump=0 " Dont jump to the first line with a problem
+let g:syntastic_phpcs_conf='--standard=Drupal --extensions=php,module,inc,install,test,profile,theme' " Test php,module,inc,install ... files with the Drupal CodingStandard
" Only do this part when compiled with support for autocommands
if has("autocmd")

0 comments on commit b41204e

Please sign in to comment.